Osbert

Browse / Work & productivity / GitHub

GitHub privacy policy and terms, explained

A Microsoft brand · Work & productivity · Updated · Checked

GitHub privacy ratings

GitHub lets you opt out of AI training on what you give Copilot, but not on your public code, and says it shares some data with ad networks; its terms have no forced arbitration.

GitHub's privacy policy and terms run to 13,721 words, about 58 min of reading. Osbert read them so you don't have to.

Osbert's take

GitHub is a code hosting and collaboration service owned by Microsoft. These documents are its privacy statement and its terms of service for Personal Accounts and Organizations, both effective April 27, 2026. If an employer or school supplies your account, its own policies cover most of your data. Business customer agreements are separate and not covered here.

The good

You own your content, and GitHub treats private repositories as confidential, with staff access limited to listed cases such as security and support. Barring legal requirements, your profile and repositories are deleted within 90 days of closing your account. GitHub says it doesn't sell your data. It promises at least 30 days' notice of material changes, and there's no forced arbitration or class-action waiver.

Watch for

The terms allow GitHub and its affiliates, including Microsoft, to train AI on your content, including public repositories, and the AI settings opt-out doesn't cover that. Copilot inputs and outputs on individual licenses are used for training unless you opt out. GitHub says it shared identifiers, online activity and inferences with ad networks and social networks. Forked copies of your code stay after you delete your account. Payments are non-refundable, and lawsuits must be brought in San Francisco.

What you can switch off

Use of your AI inputs and outputs for training (in your account settings, from then on), ad sharing (the "Do Not Share My Personal Information" link, Global Privacy Control or cookie settings; a Do Not Track signal also stops non-essential cookies), and Visual Studio Code telemetry in Codespaces and github.dev. User Settings control what information is public.

GitHub's privacy policy and terms, topic by topic

Osbert's reading of the current documents. Where they disagree, the less protective one counts.

What GitHub collects, product by product

GitHub Copilot and other AI features

Inputs and outputs train AI unless you opt out in account settings

Does GitHub Copilot train on my code?

Inputs are what you give an AI feature: prompts, attachments, code in your workspace and conversation history. Outputs are its responses. On individual licenses, GitHub and its affiliates can collect and use both to train and improve AI models unless you opt out in your account settings. The opt-out works from that date on and doesn't reach other content, including public repositories. Accounts under a GitHub Customer Agreement or volume licensing agreement are outside this clause. The license doesn't let GitHub or its affiliates share inputs or outputs with outside AI model providers for their own training. You're responsible for checking outputs, which may resemble licensed code.

Private repositories

Confidential, with staff access only in listed cases

Can GitHub see my private repositories?

GitHub says it treats private repositories as confidential and that its staff won't access their contents without your consent, except for security, to scan for or review known vulnerabilities, malware or content known to break its terms, to help the owner with support, to keep the service working, or to meet legal obligations. It gives notice of access in most cases, but not for automated scanning, legal disclosures or security threats. If you give private code to an AI feature, GitHub may use that input for training unless you opt out. It says it won't otherwise use private repositories to develop or improve the service.

Public repositories

Open to everyone; others can fork it, and GitHub can train AI on it

Can others use my public GitHub code?

Making a repository public makes it accessible to everyone on the internet. Other users get a worldwide license to use, display and copy it through GitHub, including by forking, which means making their own copy. You can grant more rights by adding a license. The terms also let GitHub and its affiliates use your content to train AI models, and the Copilot opt-out doesn't apply to content stored in public repositories. The licenses end when you remove your content, unless other users have forked it, and GitHub won't delete forked copies or contributions you made to other people's repositories.

Work and school accounts

An employer or school that supplies your account can access its content

Can my employer see my GitHub account?

When a school or employer supplies your account, it controls most of the personal data in it. The privacy statement says it can manage your account, change privacy settings, and access your data, including how you use GitHub and your content and files. GitHub then acts on its instructions, and its policies apply. For an Organization, the owner has ultimate control over the Organization and the content in it. For a Personal Account, the terms say you keep ultimate control over the account and its content.

Also covers 12 more products
  • github.com
  • GitHub Copilot
  • Copilot Autofix
  • GitHub Codespaces
  • github.dev
  • GitHub Mobile
  • GitHub Organizations
  • GitHub API
  • GitHub Marketplace
  • GitHub Education site
  • GitHub Pages site
  • Beta Previews

Changes to GitHub's privacy policy and terms

Osbert's earliest copy is from Nov 30, 2025.

How GitHub compares with other developer tools

Privacy and terms scores out of 100. Higher means more protection for you.

ServicePrivacyTerms
Cursor 44 36
Google 40 75
GitHub This page 38 76
Microsoft (also owned by Microsoft) 37 26

Microsoft is also owned by Microsoft, GitHub's parent company.

Also from Microsoft: LinkedIn, Microsoft Copilot.

If GitHub changes its privacy policy and terms, Osbert will show you

Follow it to see exactly what changed and what it means for you.

Sources Osbert reads
DocumentPolicy dateWatching sinceLast checked
Privacy policy ↗ Effective Apr 27, 2026 Nov 30, 2025 5 days ago
Terms of service ↗ Effective Apr 27, 2026 Nov 30, 2025 5 days ago