Summary

On September 2, 2026, GitHub made content exclusions generally available in the Copilot app and Copilot CLI, so Copilot now respects exclusion policies configured by enterprise, organization, and repository administrators to keep sensitive files out of AI context.

What changed

GitHub promoted content exclusions to GA for the Copilot app and CLI, extending admin-defined file-exclusion enforcement beyond the IDE to Copilot's app and command-line surfaces.

Why it matters

As Copilot spreads to the CLI and standalone app, consistent enforcement of content-exclusion rules lets governance teams keep secrets and sensitive code out of AI prompts across every surface, a prerequisite for many enterprise rollouts.

Evidence excerpt

Content exclusions generally available in Copilot app and CLI — Copilot respects administrator-configured exclusion policies to protect sensitive files.

Sources