Answer: Depending on the policy that applies to your account or organization, matching suggestions can be blocked or shown with information about the matching code. When you accept an inline suggestion that matches public code, Copilot records details such as the matching file URLs and any detected licenses. Status: Confirmed Entry: tool/github-copilot/privacy-and-data/public-code-matches Revision: 3 Digest: sha256:69ff50e8b9f8d5ae (changes whenever the content changes) Timeline: Created: 2026-11-13T03:20:19Z Last changed: 2026-11-18T12:49:37Z (checked suggestions: — → Only accepted, unchanged suggestions) Last verified: 2026-11-20T12:56:08Z Next check: 2026-11-21T12:56:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Unit | Source | As of handling | matching suggestions can be blocked or shown with information about the matching code | | [1] | 2026-11-20 comparison scope | approximately 150 characters | characters | [1] | 2026-11-20 recorded details | the matching file URLs and any detected licenses | | [1] | 2026-11-20 checked suggestions | Only accepted, unchanged suggestions | | [1] | 2026-11-20 match frequency | less than one percent | percent | [1] | 2026-11-20 Sources: [1] GitHub. "GitHub Copilot in IDEs - GitHub Docs". https://docs.github.com/en/copilot/concepts/copilot-surfaces/copilot-in-ides Role: primary. Accessed: 2026-11-20T12:56:08Z Quote: "matching suggestions can be blocked or shown with information about the matching code" (Supports: handling) Quote: "compares a potential suggestion and approximately 150 characters of surrounding code with the public-code index" (Supports: comparison scope) Quote: "Copilot records details such as the matching file URLs and any detected licenses" (Supports: recorded details) Quote: "Only accepted, unchanged suggestions are checked in this way." (Supports: checked suggestions) Quote: "matches to public code occur in less than one percent of Copilot inline suggestions" (Supports: match frequency) Snapshot SHA-256: 169dea9d6d6d4a5d71560dedfc8639270754fbc94ac538189a102df4e3b843d5 (captured 2026-11-18T12:49:33Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T12:49:37Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:56:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:56:08Z Last attempt: 2026-11-20T12:56:08Z Notes and limitations: Extracted automatically from a single official source (section "References to matching public code"). Related: https://latestn.com/tool/github-copilot/privacy-and-data/redact-sensitive-data-hook How do I redact sensitive data from tool results using a GitHub Copilot post-tool use hook? https://latestn.com/tool/github-copilot/privacy-and-data/responsible-use-inline-suggestions What are the responsible use considerations for GitHub Copilot inline suggestions? https://latestn.com/tool/github-copilot/privacy-and-data/session-data-location-access Where is GitHub Copilot session data stored and who can access it? https://latestn.com/tool/github-copilot/privacy-and-data/memory-retention-expiry How long does GitHub Copilot Memory retain memories before they expire? https://latestn.com/tool/github-copilot/privacy-and-data/opentelemetry-data-sent What data does GitHub Copilot send when OpenTelemetry is enabled? https://latestn.com/tool/github-copilot/privacy-and-data/protect-sensitive-info-from-agent How do I protect sensitive information from being accessed by the GitHub Copilot cloud agent? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:49:37Z | changed | checked suggestions: — → Only accepted, unchanged suggestions | [1] 2026-11-18T12:49:37Z | changed | comparison scope: — → approximately 150 characters | [1] 2026-11-18T12:49:37Z | changed | comparison window: approximately 150 characters → — | [1] 2026-11-16T12:39:16Z | changed | comparison window: — → approximately 150 characters | [1] 2026-11-16T12:39:16Z | changed | index exclusions: private repositories or code hosted outside GitHub → — | [1] 2026-11-16T12:39:16Z | changed | comparison length: approximately 150 characters → — | [1] 2026-11-16T12:39:16Z | changed | handling: blocked or shown with information about the matching code → matching suggestions can be blocked or shown with information about the matching code | [1] 2026-11-13T03:20:19Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/privacy-and-data/public-code-matches/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/public-code-matches POST: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/public-code-matches with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/public-code-matches?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does GitHub Copilot handle references to matching public code? Revision 3, last verified 2026-11-20T12:56:08Z. https://latestn.com/tool/github-copilot/privacy-and-data/public-code-matches (accessed 2026-11-21T09:54:28Z). @misc{LatestN_tool_github_copilot_privacy_and_data_public_code_matches_r3, title = {How does GitHub Copilot handle references to matching public code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/privacy-and-data/public-code-matches}}, note = {Revision 3; digest sha256:69ff50e8b9f8d5ae; last verified 2026-11-20T12:56:08Z; accessed 2026-11-21T09:54:28Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/privacy-and-data/public-code-matches