Privacy & Safeguards
Domain 6 · 10–15% of the GH-300 exam
Keep sensitive files away from Copilot with content exclusions, set editor settings, know who owns the output, block or reference suggestions that match public code, and fix the usual reasons Copilot stops suggesting.
Lessons in this module
- 1 Content Exclusions and Editor Settings Exclude files and paths from GitHub Copilot at repository, organization and enterprise level, know what exclusions cover, and set per-language editor settings.
- 2 Who Owns Copilot Output, and Its Limits Learn who owns code that GitHub Copilot suggests, who is responsible for it, how code references and IP terms fit in, and the limits every suggestion has.
- 3 Public Code Matching: Block or Show References Set the GitHub Copilot policy for suggestions matching public code to Block or Allow, read code references with licences, and know who sets the policy.
- 4 Troubleshoot Suggestions and Content Exclusions Fix GitHub Copilot when it stops suggesting. Check sign-in and seat, excluded files, language settings, the public code filter, proxies, the extension and logs.
Hands-On Labs
Guided labs in a practice terminal with GitHub Copilot CLI, git and gh. No GitHub account, nothing to pay, and your progress stays in this browser.
6.1 Manage privacy settings and exclusions
No guided lab for this section yet. Try it in the Copilot terminal sandbox.
6.2 Apply safeguards and troubleshoot
No guided lab for this section yet. Try it in the Copilot terminal sandbox.