
{"id":73497,"date":"2023-08-03T09:01:05","date_gmt":"2023-08-03T16:01:05","guid":{"rendered":"https:\/\/github.blog\/?p=73497"},"modified":"2024-02-07T18:06:16","modified_gmt":"2024-02-08T02:06:16","slug":"introducing-code-referencing-for-github-copilot","status":"publish","type":"post","link":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/","title":{"rendered":"Introducing code referencing for GitHub Copilot"},"content":{"rendered":"<blockquote><p>Make more informed decisions about the code you use. In the rare case where a GitHub Copilot suggestion matches public code, this update will show a list of repositories where that code appears\u00a0and their licenses. <a href=\"https:\/\/github.co\/copilot-code-referencing-waitlist\">Sign up for the private beta today<\/a>.<\/p><\/blockquote>\n<p>Over the course of the last year, GitHub Copilot, <a href=\"https:\/\/github.blog\/2022-06-21-github-copilot-is-generally-available-to-all-developers\/\">the world\u2019s first at-scale AI pair programmer trained on billions of lines of public code<\/a>, has attracted more than 1 million developers and helped over 27,000 organizations build faster and more productively. During that time, many developers told us they want to see when GitHub Copilot\u2019s suggestions match public code.<\/p>\n<p>Today, we\u2019re announcing a private beta of GitHub Copilot with <a href=\"https:\/\/github.blog\/2022-11-01-preview-referencing-public-code-in-github-copilot\/\">code referencing<\/a> that includes an updated filter which detects and shows context of code suggestions matching public code on GitHub. When the filter is enabled, GitHub Copilot checks code suggestions with surrounding code of about 150 characters and compares it against an index of all the public code on GitHub.com. Matches\u2014along with information about every repository in which they appear\u2014are displayed right in the editor. Developers can now choose whether to block suggestions containing matching code, or allow those suggestions with information about matches.<\/p>\n<p>Why? Some want to learn from others\u2019 work, others may want to take a dependency rather than introduce new app logic, and still others want to give or receive credit for similar work. Whatever the reason, it\u2019s nice to know when similar code is out there.<\/p>\n<p>Let\u2019s see how it works.<\/p>\n<h2 id=\"how-github-copilot-code-referencing-works\"><a class=\"heading-link\" href=\"#how-github-copilot-code-referencing-works\">How GitHub Copilot code referencing works<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>With billions of files to index and a latency budget of only 10-20ms, it\u2019s a miracle of engineering that this is even possible. Still, if there\u2019s a match, a notification appears in the editor showing: (1) the matching code, (2) the repositories where that code appears, and (3) the license governing each repository.<\/p>\n<div style=\"width: 1920px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-73497-1\" width=\"1920\" height=\"1080\" autoplay preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/16-9-Blog-Demo.mp4#t=0.001?_=1\" \/><a href=\"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/16-9-Blog-Demo.mp4#t=0.001\">https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/16-9-Blog-Demo.mp4#t=0.001<\/a><\/video><\/div>\n<h2 id=\"why-code-referencing-matters\"><a class=\"heading-link\" href=\"#why-code-referencing-matters\">Why code referencing matters<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>In our journey to create a code referencing tool, we discovered a few interesting things:<\/p>\n<p>First, <a href=\"https:\/\/github.blog\/2021-06-30-github-copilot-research-recitation\/\">our previous research<\/a> suggests that matches occur in less than one percent of GitHub Copilot suggestions. But that one percent isn&#8217;t evenly distributed across all use cases. In the context of an existing application with surrounding code, we almost never see a match. But in an empty or nearly empty file, we see matches far more often.<\/p>\n<p>Suggestions are heavily biased toward the prompt so GitHub Copilot can provide suggestions tailor-made for your current task. That means, in an existing app with lots of context, you&#8217;ll get a suggestion customized for your code. But in an empty, or nearly empty file, there&#8217;s little to no context. So, you&#8217;re more likely to get a suggestion that matches public code.<\/p>\n<p>We&#8217;ve also found that when suggestions match public code, those matches frequently appear in dozens, if not hundreds of repositories. In some ways, this isn&#8217;t surprising because the models that power GitHub Copilot are akin to giant probability machines. A code fragment that appears in many repositories is more likely to be a \u201cpattern\u201d detected by the model\u2014similar to the patterns we see elsewhere in public code.<\/p>\n<p>For example, <a href=\"https:\/\/arxiv.org\/abs\/1802.02938\">research on Java projects<\/a> finds that up to 11% of repositories may contain code that resembles solutions posted to Stack Overflow, and the vast majority of those snippets appear without attribution. <a href=\"https:\/\/arxiv.org\/abs\/1705.01198\">Another study on Python<\/a> found that many matches are too generic to trace to an original usage. <a href=\"https:\/\/arxiv.org\/abs\/1703.03897\">A smaller-scale study<\/a> found that Stack Overflow answers contain code from Android applications.<\/p>\n<p>Finally, the repositories with matching code are often governed by multiple, sometimes conflicting licenses, which makes attributing a match to its source more challenging. By consulting a list of references, developers can now:<\/p>\n<ul>\n<li>Determine whether, what, and who to attribute rather than having matches simply blocked from the outset.<\/li>\n<li>Learn from other developers by studying their approaches to similar problems.<\/li>\n<li>Take a dependency on an open source library to avoid new business logic.<\/li>\n<li>Evaluate the context of code before accepting a matching suggestion.<\/li>\n<li>Discover new projects and contribute upstream.<\/li>\n<\/ul>\n<h2 id=\"building-a-better-developer-experience-and-community\"><a class=\"heading-link\" href=\"#building-a-better-developer-experience-and-community\">Building a better developer experience and community<span class=\"heading-hash pl-2 text-italic text-bold\" aria-hidden=\"true\"><\/span><\/a><\/h2>\n<p>This is just the beginning. As GitHub continues to innovate, we will always strive to help developers stay in the flow, build creatively, and maintain a transparent connection to the community. We\u2019re excited for you to try GitHub Copilot with code referencing.<\/p>\n<p>Happy coding.<\/p>\n<p><div class=\"content-button-wrap text-center\"><a href=\"https:\/\/github.co\/copilot-code-referencing-waitlist\" target=\"_self\" class=\"btn-mktg arrow-target-mktg\">Sign up for the private beta today.<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"octicon arrow-symbol-mktg\" width=\"24\" height=\"24\" viewBox=\"0 0 16 16\" fill=\"none\"><path fill=\"currentColor\" d=\"M7.28033 3.21967C6.98744 2.92678 6.51256 2.92678 6.21967 3.21967C5.92678 3.51256 5.92678 3.98744 6.21967 4.28033L7.28033 3.21967ZM11 8L11.5303 8.53033C11.8232 8.23744 11.8232 7.76256 11.5303 7.46967L11 8ZM6.21967 11.7197C5.92678 12.0126 5.92678 12.4874 6.21967 12.7803C6.51256 13.0732 6.98744 13.0732 7.28033 12.7803L6.21967 11.7197ZM6.21967 4.28033L10.4697 8.53033L11.5303 7.46967L7.28033 3.21967L6.21967 4.28033ZM10.4697 7.46967L6.21967 11.7197L7.28033 12.7803L11.5303 8.53033L10.4697 7.46967Z\"><\/path><path class=\"octicon-chevrow-stem\" stroke=\"currentColor\" d=\"M1.75 8H11\" stroke-width=\"1.5\" stroke-linecap=\"round\"><\/path><\/svg><\/a><\/div><br \/>\n<\/p>\n<p><a href=\"https:\/\/github.com\/features\/copilot?utm_source=blog&#038;utm_medium=blogB&#038;utm_campaign=cta&#038;utm_content=copilot\"><img data-recalc-dims=\"1\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/1200x300-Blog_Ad-Master-1-1.png?w=1024&#038;resize=1024%2C257\" alt=\"\" width=\"1024\" height=\"257\" class=\"aligncenter size-large wp-image-74436 width-fit\" srcset=\"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/1200x300-Blog_Ad-Master-1-1.png?w=1200 1200w, https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/1200x300-Blog_Ad-Master-1-1.png?w=300 300w, https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/1200x300-Blog_Ad-Master-1-1.png?w=768 768w, https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/1200x300-Blog_Ad-Master-1-1.png?w=1024 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.<\/p>\n","protected":false},"author":1856,"featured_media":73506,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_gh_post_show_toc":"no","_gh_post_is_no_robots":"no","_gh_post_is_featured":"no","_gh_post_is_excluded":"no","_gh_post_is_unlisted":"no","_gh_post_related_link_1":"","_gh_post_related_link_2":"","_gh_post_related_link_3":"","_gh_post_sq_img":"https:\/\/github.blog\/wp-content\/uploads\/2023\/03\/GitHub-Copilot-X-Announcement.jpg","_gh_post_sq_img_id":"70910","_gh_post_cta_title":"","_gh_post_cta_text":"","_gh_post_cta_link":"","_gh_post_cta_button":"Click Here to Learn More","_gh_post_recirc_hide":"no","_gh_post_recirc_col_1":"","_gh_post_recirc_col_2":"","_gh_post_recirc_col_3":"","_gh_post_recirc_col_4":"","_featured_video":"","_gh_post_additional_query_params":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"_links_to":"","_links_to_target":""},"categories":[3321,3325],"tags":[3241,2535],"coauthors":[2085],"class_list":["post-73497","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news-insights","category-product-news","tag-ai-insights","tag-github-copilot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Introducing code referencing for GitHub Copilot - The GitHub Blog<\/title>\n<meta name=\"description\" content=\"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing code referencing for GitHub Copilot\" \/>\n<meta property=\"og:description\" content=\"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/\" \/>\n<meta property=\"og:site_name\" content=\"The GitHub Blog\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-03T16:01:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-08T02:06:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ryan J. Salva\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ryan J. Salva\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/\"},\"author\":{\"name\":\"Ryan J. Salva\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0f5a59ff05ce44d94b3ad032e8acb22\"},\"headline\":\"Introducing code referencing for GitHub Copilot\",\"datePublished\":\"2023-08-03T16:01:05+00:00\",\"dateModified\":\"2024-02-08T02:06:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/\"},\"wordCount\":765,\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-20.png?fit=2400%2C1260\",\"keywords\":[\"AI Insights\",\"GitHub Copilot\"],\"articleSection\":[\"News &amp; insights\",\"Product\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/\",\"url\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/\",\"name\":\"Introducing code referencing for GitHub Copilot - The GitHub Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-20.png?fit=2400%2C1260\",\"datePublished\":\"2023-08-03T16:01:05+00:00\",\"dateModified\":\"2024-02-08T02:06:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0f5a59ff05ce44d94b3ad032e8acb22\"},\"description\":\"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#primaryimage\",\"url\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-20.png?fit=2400%2C1260\",\"contentUrl\":\"https:\\\/\\\/github.blog\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-20.png?fit=2400%2C1260\",\"width\":2400,\"height\":1260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/introducing-code-referencing-for-github-copilot\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/github.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"News &amp; insights\",\"item\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Product\",\"item\":\"https:\\\/\\\/github.blog\\\/news-insights\\\/product-news\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Introducing code referencing for GitHub Copilot\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/github.blog\\\/#website\",\"url\":\"https:\\\/\\\/github.blog\\\/\",\"name\":\"The GitHub Blog\",\"description\":\"Updates, ideas, and inspiration from GitHub to help developers build and design software.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/github.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/github.blog\\\/#\\\/schema\\\/person\\\/e0f5a59ff05ce44d94b3ad032e8acb22\",\"name\":\"Ryan J. Salva\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g35379987bdda97849dc1b99d965619be\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g\",\"caption\":\"Ryan J. Salva\"},\"url\":\"https:\\\/\\\/github.blog\\\/author\\\/ryanjsalva\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introducing code referencing for GitHub Copilot - The GitHub Blog","description":"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/","og_locale":"en_US","og_type":"article","og_title":"Introducing code referencing for GitHub Copilot","og_description":"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.","og_url":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/","og_site_name":"The GitHub Blog","article_published_time":"2023-08-03T16:01:05+00:00","article_modified_time":"2024-02-08T02:06:16+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","type":"image\/png"}],"author":"Ryan J. Salva","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ryan J. Salva","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#article","isPartOf":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/"},"author":{"name":"Ryan J. Salva","@id":"https:\/\/github.blog\/#\/schema\/person\/e0f5a59ff05ce44d94b3ad032e8acb22"},"headline":"Introducing code referencing for GitHub Copilot","datePublished":"2023-08-03T16:01:05+00:00","dateModified":"2024-02-08T02:06:16+00:00","mainEntityOfPage":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/"},"wordCount":765,"image":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","keywords":["AI Insights","GitHub Copilot"],"articleSection":["News &amp; insights","Product"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/","url":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/","name":"Introducing code referencing for GitHub Copilot - The GitHub Blog","isPartOf":{"@id":"https:\/\/github.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#primaryimage"},"image":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#primaryimage"},"thumbnailUrl":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","datePublished":"2023-08-03T16:01:05+00:00","dateModified":"2024-02-08T02:06:16+00:00","author":{"@id":"https:\/\/github.blog\/#\/schema\/person\/e0f5a59ff05ce44d94b3ad032e8acb22"},"description":"Today, we\u2019re announcing a private beta of GitHub Copilot with code referencing that includes a filter to detect code suggestions matching public code on GitHub.","breadcrumb":{"@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#primaryimage","url":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","contentUrl":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","width":2400,"height":1260},{"@type":"BreadcrumbList","@id":"https:\/\/github.blog\/news-insights\/product-news\/introducing-code-referencing-for-github-copilot\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/github.blog\/"},{"@type":"ListItem","position":2,"name":"News &amp; insights","item":"https:\/\/github.blog\/news-insights\/"},{"@type":"ListItem","position":3,"name":"Product","item":"https:\/\/github.blog\/news-insights\/product-news\/"},{"@type":"ListItem","position":4,"name":"Introducing code referencing for GitHub Copilot"}]},{"@type":"WebSite","@id":"https:\/\/github.blog\/#website","url":"https:\/\/github.blog\/","name":"The GitHub Blog","description":"Updates, ideas, and inspiration from GitHub to help developers build and design software.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/github.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/github.blog\/#\/schema\/person\/e0f5a59ff05ce44d94b3ad032e8acb22","name":"Ryan J. Salva","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g35379987bdda97849dc1b99d965619be","url":"https:\/\/secure.gravatar.com\/avatar\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/be1e0377634985723f5f78e66c31adad77f98122a2e1ae3d2f9bc47e9deb06d2?s=96&d=mm&r=g","caption":"Ryan J. Salva"},"url":"https:\/\/github.blog\/author\/ryanjsalva\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/github.blog\/wp-content\/uploads\/2023\/08\/image-20.png?fit=2400%2C1260","jetpack_shortlink":"https:\/\/wp.me\/pamS32-j7r","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/73497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/users\/1856"}],"replies":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/comments?post=73497"}],"version-history":[{"count":6,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/73497\/revisions"}],"predecessor-version":[{"id":74438,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/posts\/73497\/revisions\/74438"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media\/73506"}],"wp:attachment":[{"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/media?parent=73497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/categories?post=73497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/tags?post=73497"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/github.blog\/wp-json\/wp\/v2\/coauthors?post=73497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}