Manage privacy settings and exclusions
Unlock the complete study guide.
Bundled into the existing GitHub Copilot premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Content exclusion, editor settings and the Copilot terms
- What content exclusion withholds
- Who sets exclusion rules, and whom they reach
- Writing repository rules: paths and patterns
- Writing organization and enterprise rules
- How a client learns which rules apply
- Where exclusion is supported, surface by surface
- What exclusion cannot guarantee
- Editor settings: inline suggestions by language
- Next edit suggestions: a separate switch
- Which Copilot terms govern your use
- Ownership of inputs and outputs
- Model training: managed versus individual plans
- Defense of third-party claims
- Limitations of output: security and review
- Content exclusion, editor settings and Copilot terms scenarios
Content exclusion, editor settings and Copilot terms
| Attribute | Content exclusion | Editor settings | Copilot terms |
|---|---|---|---|
| Question it answers | Which files may Copilot read and use as context? | Where does Copilot offer inline suggestions in my editor? | Who owns output, may data train models, who defends claims? |
| Who sets it | Repository administrators, organization owners, enterprise owners | Each developer in their own IDE | Fixed by the agreement for your purchase channel; individual plans add a personal training setting |
| Plans | Copilot Business and Copilot Enterprise only | Every plan, for inline suggestions in a supported IDE (on Business or Enterprise, next edit suggestions may also need the Editor preview features policy) | Every plan, under different documents |
| Who it reaches | Copilot users in the enterprise working in the repository, users with a Copilot seat from the organization, or every Copilot user in the enterprise | Only the developer who changed the setting | The customer or user bound by that agreement |
| Where you configure it | Repository, organization or enterprise settings on GitHub, or the REST API's organization endpoints | IDE settings, such as VS Code `settings.json` or JetBrains `github-copilot.xml` | The agreement is not configured here; individual subscribers can adjust model-training use in personal Copilot settings |
| What it does not do | Cover every surface (for example Edit and Agent modes, or Chat in Xcode and Eclipse), symlinks, remote filesystems, or IDE-supplied semantic information | Exclude files for other users | Clear third-party license obligations or certify output as secure |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- https://docs.github.com/en/copilot/concepts/context/content-exclusion
- https://docs.github.com/en/copilot/how-tos/configure-personal-settings/configure-in-ide
- https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
- https://learn.microsoft.com/en-us/credentials/certifications/resources/study-guides/gh-300
- https://docs.github.com/en/admin/overview/about-enterprise-accounts
- https://code.visualstudio.com/docs/copilot/ai-powered-suggestions
- https://github.com/customer-terms/github-generative-ai-services-terms
- https://code.visualstudio.com/docs/copilot/overview
- https://docs.github.com/en/copilot/get-started/plans
- https://docs.github.com/en/copilot/responsible-use/inline-suggestions
- https://docs.github.com/en/copilot/how-tos/manage-your-account/manage-policies
- https://docs.github.com/en/copilot/how-tos/configure-content-exclusion/exclude-content-from-copilot
- https://docs.github.com/en/rest/copilot/copilot-content-exclusion-management
- https://docs.github.com/en/copilot/concepts/agents/github-copilot-app
- https://github.blog/changelog/2026-09-02-content-exclusions-generally-available-in-copilot-app-and-cli/
- https://docs.github.com/en/site-policy/github-terms/github-terms-for-additional-products-and-features
- https://github.com/features/copilot/plans