The short answer is clear: if your company pays for GitHub Copilot Business or GitHub Copilot Enterprise, GitHub does not retain your code snippets, does not store your prompts or completions, and does not train foundational AI models on your private intellectual property.
At 365Finds, we often see corporate security officers stall AI adoption for six months over the fear that an AI assistant will quietly suck proprietary algorithms into an OpenAI training set. For commercial enterprise tiers, that specific nightmare is contractually dead on arrival.
Yet the full reality is more nuanced. While GitHub Copilot does not hoard your source code, it does collect operational telemetry. And if your developers bring personal subscriptions into your repositories, the privacy boundaries change completely.
Here is exactly how code privacy, zero retention, and telemetry data collection work under GitHub Copilot enterprise plans—and the specific compliance levers you must flip.
1. Code Privacy: Zero Model Training and Zero Data Retention
The biggest question in enterprise software governance is simple: Does my proprietary code train someone else's model?
Under GitHub Copilot Business and GitHub Copilot Enterprise, the answer is an unconditional no. GitHub's commercial Data Protection Agreement (DPA) explicitly forbids using customer prompts, surrounding context, or generated suggestions to train foundation models developed by GitHub, Microsoft, or model partners like OpenAI.
What Happens When a Suggestion Is Triggered?
- Context Assembly: When a developer pauses typing or opens a chat window, the GitHub Copilot IDE extension collects local context—the active file, cursor position, neighboring files, and open tabs.
- Encrypted Transit: This payload (the prompt) is sent over an encrypted TLS connection to the inference endpoint.
- In-Memory Processing: The model processes the prompt and generates suggestions in RAM.
- Immediate Discard: Under Zero Data Retention (ZDR) agreements, once the completion is returned to the developer's editor, the prompt context and the suggested code are purged from memory. Neither GitHub nor third-party inference providers persist your source code on disk.
For comparison, here is how GitHub separates enterprise tiers from individual accounts:
| Governance Factor | GitHub Copilot Business / Enterprise | GitHub Copilot Free / Pro (Individual) |
|---|---|---|
| Model Training on Customer Code | Prohibited by default (contractual guarantee) | Permitted by default (requires manual user opt-out) |
| Prompt & Suggestion Storage | Ephemeral / zero data retention (purged after response) | Processed and potentially retained if training is active |
| Administrative Policy Controls | Centrally enforced by Enterprise/Org Owners | Controlled exclusively by the individual developer |
| Intellectual Property Protection | Protected under Copilot Copyright Commitment | Standard terms of service |
365Finds considers this split crucial: the greatest vulnerability in an enterprise is almost never the GitHub Copilot Business tier itself. It is the unmanaged engineer using an individual Copilot Pro seat on a company laptop where training opt-out settings are left entirely up to developer discretion.
2. Telemetry: What GitHub Actually Collects and Retains
While GitHub Copilot purges your code context, it does not run in a complete sensory vacuum. It collects User Engagement Telemetry to operate the service and populate administrative dashboards.
What Is Collected
GitHub gathers operational metadata regarding how developers interact with the product:
- Action Metrics: Whether a suggestion was shown, accepted, rejected, or modified.
- Latency & Performance: Network turnaround time, IDE extension crash reports, and system exceptions.
- IDE Environment: Editor name, extension version, and timestamp events (such as
last_activity_at). - Feature Adoption: Usage frequency of Copilot Chat, inline completions, or CLI commands.
What Is Explicitly Excluded
Operational telemetry does not contain raw code snippets, file names containing proprietary identifiers, secret tokens, or prompt text bodies. Telemetry records are pseudonymized and tied to internal identifiers rather than unencrypted corporate secrets.
Retention Windows
- Engagement Telemetry: Operational usage data is stored for up to two years to track service health, feature performance, and model availability trends.
- Activity Logs: Granular activity logs that feed enterprise seat utilization APIs are typically indexed for 90 days.
At 365Finds, we appreciate the transparency of GitHub's telemetry documentation, but we advise caution on one practical conflict: if developers disable all telemetry inside their IDE extension settings, organizational administrators lose visibility into seat utilization. You will see an allocated license on your bill, but your administrative dashboard will report zero active engagement.
3. Essential Enterprise Compliance Settings
Relying solely on contractual promises is bad security hygiene. GitHub Copilot provides three built-in controls that enterprise administrators should configure on day one:
Step 1: Enforce the Public Code Filter
GitHub Copilot includes a filter that scans code suggestions against an index of public code on GitHub.
- Setting: Navigate to your Organization or Enterprise settings ➔ Copilot ➔ Policies.
- Action: Set Suggestions matching public code to Block.
- Why it matters: If a suggestion matches public repositories across more than roughly 150 characters, Copilot silences the suggestion. This shields your organization against inadvertent GPL or copyleft license contamination.
Step 2: Configure Content Exclusion
If your repositories contain sensitive files that should never enter the inference context window, configure content exclusions.
- Setting: Under Organization settings ➔ Copilot ➔ Content exclusion.
- Action: Define glob patterns or specific paths, such as
.env,/credentials/*, or proprietary cryptographic modules. - Real-world caveat from 365Finds: Content exclusion prevents the IDE extension from reading those files into prompt buffers. However, it is not an operating system security boundary. If a developer has filesystem access, local data remains vulnerable to local threats. Furthermore, if public types or symbols from excluded files leak into surrounding code, the model may still observe those surface signatures.
Step 3: Block Individual Licenses on Managed Devices
Ensure internal compliance policies strictly forbid developers from logging into personal GitHub Copilot accounts on company-owned workstations. Managed MDM profiles and centralized Enterprise Organization seat provisioning are necessary to keep all code flow within enterprise DPA protection.
365Finds Verdict
Does GitHub Copilot respect enterprise privacy? Yes. For GitHub Copilot Business and Enterprise subscribers, GitHub's zero-retention architecture and contract-backed isolation eliminate the risk of private source code leaking into public LLM training sets.
Telemetry collection is real, but it captures the cadence of development rather than the code itself. So long as organizations centrally enforce the public code filter, configure content exclusions on proprietary directories, and eliminate rogue personal accounts, GitHub Copilot meets rigorous enterprise security standards.