GitHub privacy policy, in plain words
25 min to read the original · checked Nov 17, 2026
GitHub collects account details, payment information, device and browsing data, and geolocation, and it can see the content you store, including code and AI inputs and outputs. The policy says it uses your code, inputs and AI outputs to train AI and machine learning models. Data is shared with affiliates including Microsoft, advertising partners, and analytics vendors, and the policy leaves the terms for much of this sharing vague.
What they collect
- GitHub handle, name, email address, and password
- Payment card and transaction information
- Profile details such as photo, job title, and biography
- IP address, device information, and session details
- Browser, referring site, pages viewed, and links clicked
- Regional and precise geolocation
- Email opens and link clicks tracked with web beacons
- Data from third-party apps linked to your account
- Comments and information other users post about you
- Demographic details such as gender and ethnicity, if you provide them
What they can see
- Your code, files, text, images, and AI inputs and outputs
- Your activity in private repositories where GitHub's Terms of Service grant access
- What you share with support, including code and media
- Your interactions with the Services
- Settings apply per browser, so you must repeat them on other devices
What they work out about you
- General location based on your IP address
- Likely preferences and other traits drawn from your data
- Other characteristics derived from the personal information it collects
Who gets it
- Microsoft and other GitHub affiliates
- Your employer or school, if it provides your account
- Advertising networks and advertising partners
- Data analytics providers and other service providers
- Partners and resellers, with consent where required
- Third-party Marketplace apps you choose to use
- Other users and the public, depending on your settings
- Buyers or merger partners in a corporate transaction
- Law enforcement and courts on lawful request
What they don't make clear
- "Trusted partners" and "partners and resellers" are never named, and data is shared where allowed
- "Legitimate interests" justifies AI training and product development without asking consent
- "Business purposes" is a broad reason covering billing, forecasting and product strategy
- "Where feasible" aggregation and de-identification has no standard for what counts as feasible
- Data from linked third-party services follows those services' own policies
The main concerns
- Uses your code, inputs and AI outputs to train AI and machine learning models
- Shares data with Microsoft and affiliates for marketing, advertising and product development
- Employer or school accounts let the organization access your content and usage data
- Cookies and advertising IDs track activity across pages for targeted advertising
- Telemetry is collected by default in Codespaces and github.dev unless you opt out
- Opting out of sharing requires a specific footer link or Global Privacy Control, so most users must act to opt out
Kept: Kept while your account is active and as needed for contracts, legal requirements, disputes, and enforcing agreements.. Children: Services are not intended for under-13s, and GitHub says it does not knowingly collect their data; it asks people to report a minor's data..
Read the full policyWritten from the policy’s own text. How we read policies