GitHub Terms of Service (web)
Citation
GitHub. “GitHub Terms of Service.” Site policy page, GitHub Docs, effective date April 27, 2026. https://docs.github.com/en/site-policy/github-terms/github-terms-of-service. Read 2026-11-12.
Bottom line
- The GitHub Terms of Service are the agreement between GitHub, Inc. and each user of github.com. They have sections A to S and a short summary of each.
- A user owns its content but gives GitHub and its Affiliates, Microsoft among them, a licence to use it, which includes “training AI Features”.
- Under an individual licence, GitHub can also use AI feature Inputs and Outputs to train models unless the user opts out. This does not apply to use under a GitHub Customer Agreement or volume licensing agreement.
Background
GitHub publishes these terms in the Site policy section of GitHub Docs. A user must be 13 or older. A government user accepts a separate Government Amendment, and a GitHub Enterprise Cloud user accepts an Enterprise Cloud Addendum (Section B.5). The Acceptable Use Policies are in the library as GitHub Acceptable Use Policies (web).
Key claims
- Affiliates: “For the avoidance of doubt, Microsoft is an Affiliate of GitHub.” (Section A.4)
- Accounts: “One person or legal entity may maintain no more than one free Account” (Section B.3)
- Responsibility: “You are responsible for all content posted and activity that occurs under your Account (even when content is posted by others who have Accounts under your Account).” (Section B.4)
- Ownership: “You own Your Content.” (Section D.3)
- Licence to GitHub: “You grant GitHub and our Affiliates the right to store, host, archive, parse, display, and make copies of Your Content as necessary to provide, develop, and improve the Service, including by training AI Features, and for the purpose of training, developing, and improving artificial intelligence and machine learning models and technologies of our Affiliates.” (Section D.4)
- Repository licence: “Whenever you add Content to a repository containing notice of a license, you license that Content under the same terms” (Section D.6)
- AI Inputs and Outputs: GitHub and its Affiliates get a licence to use them to train models “unless (a) you opt out through your account settings, or (b) your use of the Service is governed by a GitHub Customer Agreement or volume licensing agreement.” (Section J.3)
- Invoicing: “User must pay the fees within thirty (30) days of the GitHub invoice date.” (Section L.3)
- Deletion: “barring legal requirements, we will delete your full profile and the Content of your repositories within 90 days of cancellation or termination” (Section M.2)
- Termination: “GitHub has the right to suspend or terminate your access to all or any part of the Website at any time, with or without cause, with or without notice, effective immediately.” (Section M.3)
- Changes: GitHub will give notice of material changes “at least 30 days prior to the change taking effect” (Section R)
- Governing law: “the federal laws of the United States of America and the laws of the State of California”, with venue in “the City and County of San Francisco, California.” (Section S.1)
Evidence and method
This is the legal text of a platform agreement. The library read the summary and Sections A to D, J, L, M, P, Q, R and S.1. The library did not read Sections E to I, K, N and O, or the rest of Section S, in full.
Limits
- The terms give no prices. Prices are at github.com/pricing.
- The Government Amendment and the GitHub Customer Agreement are separate documents. The library has not read them.
- Section P excludes GitHub liability for lost profits, data and indirect damages. The library did not find a liability cap amount in the sections it read.