The world’s most widely adopted AI developer tool.
GitHub Copilot is used by
The competitive advantage developers ask for by name.
Proven to increase developer productivity and accelerate the pace of software development.
55%
Designed by leaders in AI so you can build with confidence.
Committed to your privacy, security, and trust.
Duolingo empowers its engineers to be force multipliers for expertise with GitHub Copilot, Codespaces.
~25%
1m
Problem Inconsistent standards and workflows limited developer mobility and efficiency, limiting Duolingo’s ability to expand its content and deliver on its core mission. Solution GitHub Copilot, Codespaces, and custom API integrations enforce code consistency, accelerate developer speed, and remove the barriers to using engineering as a force multiplier for expertise.
The industry
standard.
The AI coding assistant
elevating developer workflows.
-
Improve code quality and security. Developers feel more confident in their code quality when authoring code with GitHub Copilot. And with the built-in vulnerability prevention system , insecure coding patterns get blocked in real time. -
Enable greater collaboration. GitHub Copilot’s the newest member of your team. You can ask general programming questions or very specific ones about your codebase to get answers fast, learn your way around, explain a mysterious regex, or get suggestions on how to improve legacy code.
Get AI-based suggestions in real time
Available for Copilot Enterprise Docs that feel tailored for you.
Available for Copilot Enterprise Pull requests that tell a story.
Limited Beta Your favorite tools have entered the chat.
Coming soon as an add-on Prefer bespoke? Fine-tune a private, custom model that suggests code based on the best practices and patterns in your repositories.
Ask for assistance right in your terminal.
Keep flying with your favorite editor.
Take flight with GitHub Copilot.
Copilot Individual
-
Included, Unlimited messages and interactions -
Included, Context-aware coding support and explanations -
Included, Debugging and security remediation assistance -
Not included, Conversations tailored to your organization’s repositories -
Not included, Answers based on your organization’s knowledge base -
Not included, Access to knowledge from top open source repositories -
Not included, Pull request diff analysis -
Not included, Web search powered by Bing (beta)
-
Included, Real time code suggestions -
Included, Comments to code -
Not included, Fine-tuned models (coming soon as add-on)
-
Included, Inline chat and prompt suggestions -
Included, Slash commands and context variables -
Included, Commit message generation -
Not included, Pull request description and summarization
-
Included, IDE, CLI and GitHub Mobile -
Not included, GitHub.com
-
Included, Public code filter -
Not included, User management -
Not included, Data excluded from training by default -
Not included, IP indemnity -
Not included, Content exclusions -
Not included, SAML SSO authentication¹ -
Not included, Requires GitHub Enterprise Cloud
Copilot Business
-
Included, Unlimited messages and interactions -
Included, Context-aware coding support and explanations -
Included, Debugging and security remediation assistance -
Not included, Conversations tailored to your organization’s repositories -
Not included, Answers based on your organization’s knowledge base -
Not included, Access to knowledge from top open source repositories -
Not included, Pull request diff analysis -
Not included, Web search powered by Bing (beta)
-
Included, Real time code suggestions -
Included, Comments to code -
Not included, Fine-tuned models (coming soon as add-on)
-
Included, Inline chat and prompt suggestions -
Included, Slash commands and context variables -
Included, Commit message generation -
Not included, Pull request description and summarization
-
Included, IDE, CLI and GitHub Mobile -
Not included, GitHub.com
-
Included, Public code filter -
Included, User management -
Included, Data excluded from training by default -
Included, IP indemnity -
Included, Content exclusions -
Included, SAML SSO authentication¹ -
Not included, Requires GitHub Enterprise Cloud
Copilot Enterprise
-
Included, Unlimited messages and interactions -
Included, Context-aware coding support and explanations -
Included, Debugging and security remediation assistance -
Included, Conversations tailored to your organization’s repositories -
Included, Answers based on your organization’s knowledge base -
Included, Access to knowledge from top open source repositories -
Included, Pull request diff analysis -
Included, Web search powered by Bing (beta)
-
Included, Real time code suggestions -
Included, Comments to code -
Included, Fine-tuned models (coming soon as add-on)
-
Included, Inline chat and prompt suggestions -
Included, Slash commands and context variables -
Included, Commit message generation -
Included, Pull request description and summarization
-
Included, IDE, CLI and GitHub Mobile -
Included, GitHub.com
-
Included, Public code filter -
Included, User management -
Included, Data excluded from training by default -
Included, IP indemnity -
Included, Content exclusions -
Included, SAML SSO authentication¹ -
Included, Requires GitHub Enterprise Cloud
Get the most out of GitHub Copilot.
Frequently asked questions.
General
What is GitHub Copilot?
What are the differences between the GitHub Copilot Business, GitHub Copilot Enterprise, and GitHub Copilot Individual plans?
What languages, IDEs, and platforms does GitHub Copilot support?
What data has GitHub Copilot been trained on?
Does GitHub Copilot “copy/paste”?
When thinking about intellectual property and open source issues, it is critical to understand how GitHub Copilot really works. The AI models that create Copilot’s suggestions may be trained on public code, but do not contain any code. When they generate a suggestion, they are not “copying and pasting” from any codebase. To generate a code suggestion, the Copilot extension begins by examining the code in your editor—focusing on the lines just before and after your cursor, but also information including other files open in your editor and the URLs of repositories or file paths to identify relevant context. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions. To generate a suggestion for chat in the code editor, the Copilot extension creates a contextual prompt by combining your prompt with additional context including the code file open in your active document, your code selection, and general workspace information, such as frameworks, languages, and dependencies. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions. To generate a suggestion for chat on GitHub.com, such as providing an answer to a question from your chat prompt, Copilot creates a contextual prompt by combining your prompt with additional context including previous prompts, the open pages on GitHub.com as well as retrieved context from your codebase or Bing search. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions.
Privacy
What personal data does GitHub Copilot process?
User Engagement Data: This includes pseudonymous identifiers captured on user interactions with Copilot, such as accepted or dismissed completions, error messages, system logs, and product usage metrics. Prompts: These are inputs for chat or code, along with context, sent to Copilot's AI to generate suggestions. Suggestions: These are the AI-generated code lines or chat responses provided to users based on their prompts. Feedback Data: This comprises real-time user feedback, including reactions (e.g., thumbs up/down) and optional comments, along with feedback from support tickets.
Does GitHub use Copilot Business or Enterprise data to train GitHub’s model?
How does GitHub use the Copilot data?
Deliver, maintain, and update the services as per the customer's configuration and usage, to ensure personalized experiences and recommendations Troubleshoot, which involves preventing, detecting, resolving, and mitigating issues, including security incidents and product-related problems, by fixing software bugs and maintaining the online services' functionality and up-to-dateness Enhance user productivity, reliability, effectiveness, quality, privacy, accessibility, and security by keeping the service current and operational
Billing and account management To comply with and resolve legal obligations For abuse detection, prevention, and protection, virus scanning, and scanning to detect violations of terms of service To generate summary reports for calculating employee commissions and partner incentives To produce aggregated reports for internal use and strategic planning, covering areas like forecasting, revenue analysis, capacity planning, and product strategy,
How long does GitHub retain Copilot data for Business and Enterprise customers?
Prompts and Suggestions: Not retained User Engagement Data: Kept for two years. Feedback Data: Stored for as long as needed for its intended purpose.
Prompts and Suggestions: Retained for 28 days. User Engagement Data: Kept for two years. Feedback Data: Stored for as long as needed for its intended purpose.
Why do some Copilot features retain prompts and suggestions?
Does GitHub Copilot support compliance with the GDPR and other data protection laws?
Does GitHub Copilot ever output personal data?
How does Copilot allow users to access, alter or delete personal data?
Responsible AI
What are the intellectual property considerations when using GitHub Copilot?
Does GitHub Copilot include a filtering mechanism to mitigate risk?
GitHub has created a duplication detection filter to detect and suppress suggestions that contain code segments over a certain length that match public code on GitHub. This filter can be enabled by the administrator for your enterprise and it can apply for all organizations within your enterprise, or the administrator can defer control to individual organizations. With the filter enabled, Copilot checks code suggestions for matches or near-matches against public code on GitHub of 65 lexemes or more (on average,150 characters). If there is a match, the suggestion will not be shown to the user. In addition to off-topic, harmful, and offensive output filters, GitHub Copilot also scans the outputs for vulnerable code.
Does GitHub Copilot include features to make it easier for users to identify potentially relevant open source licenses for matching suggestions?
Who owns the suggestions provided by GitHub Copilot?
If a suggestion is capable of being owned, our terms are clear: GitHub does not claim ownership. GitHub does not claim ownership of any suggestion. In certain cases, it is possible for Copilot to produce similar suggestions to different users. For example, two unrelated users both starting new files to code the quicksort algorithm in Java will likely get the same suggestion. The possibility of providing similar suggestions to multiple users is a common part of generative AI systems.
Can GitHub Copilot introduce insecure code in its suggestions?
Is GitHub Copilot intended to fully automate code generation and replace developers?
The product is called “Copilot” not “Autopilot” and it’s not intended to generate code without oversight. You should use exactly the same sorts of safeguards and diligence with Copilot’s suggestions as you would use with any third-party code. Identifying best practices for use of third party code is beyond the scope of this section. That said, whatever practices your organization currently uses – rigorous functionality testing, code scanning, security testing, etc. – you should continue these policies with Copilot’s suggestions. Moreover, you should make sure your code editor or editor does not automatically compile or run generated code before you review it.
Can GitHub Copilot users simply use suggestions without concern?
As noted above, GitHub Copilot is not intended to replace developers, or their individual skill and judgment, and is not intended to fully automate the process of code development. The same risks that apply to the use of any third-party code apply to the use of Copilot’s suggestions. Depending on your particular use case, you should consider implementing the protections discussed above. It is your responsibility to assess what is appropriate for the situation and implement appropriate safeguards. You’re entitled to IP indemnification from GitHub for the unmodified suggestions when Copilot’s filtering is enabled. If you do elect to enable this feature, the copyright responsibility is ours, not our customers. As part of our ongoing commitment to responsible AI, GitHub and Microsoft extends our IP indemnity and protection support to our customers who are empowering their teams with GitHub Copilot. See Microsoft's Copilot Copyright Commitment for more details.
Does GitHub Copilot support accessibility features?
Does GitHub Copilot produce offensive outputs?
Will GitHub Copilot work as well using languages other than English?
Upcoming features and offerings
How does the GitHub Copilot Customization waitlist work?
Github Copilot capabilities for pull requests are only available through the new GitHub Copilot Enterprise plan. What does that mean for current participants in the GitHub Next technical preview for GitHub Copilot for Pull Requests or are on that waitlist?
Github Copilot capabilities for knowledge bases are only available through the new GitHub Copilot Enterprise plan. What does that mean for current participants in the GitHub Next technical preview for GitHub Copilot for Docs or are on that waitlist?
When will Copilot Chat be available on mobile?
General
What is GitHub Copilot?
What are the differences between the GitHub Copilot Business, GitHub Copilot Enterprise, and GitHub Copilot Individual plans?
What languages, IDEs, and platforms does GitHub Copilot support?
What data has GitHub Copilot been trained on?
Does GitHub Copilot “copy/paste”?
When thinking about intellectual property and open source issues, it is critical to understand how GitHub Copilot really works. The AI models that create Copilot’s suggestions may be trained on public code, but do not contain any code. When they generate a suggestion, they are not “copying and pasting” from any codebase. To generate a code suggestion, the Copilot extension begins by examining the code in your editor—focusing on the lines just before and after your cursor, but also information including other files open in your editor and the URLs of repositories or file paths to identify relevant context. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions. To generate a suggestion for chat in the code editor, the Copilot extension creates a contextual prompt by combining your prompt with additional context including the code file open in your active document, your code selection, and general workspace information, such as frameworks, languages, and dependencies. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions. To generate a suggestion for chat on GitHub.com, such as providing an answer to a question from your chat prompt, Copilot creates a contextual prompt by combining your prompt with additional context including previous prompts, the open pages on GitHub.com as well as retrieved context from your codebase or Bing search. That information is sent to Copilot’s model, to make a probabilistic determination of what is likely to come next and generate suggestions.
Privacy
What personal data does GitHub Copilot process?
User Engagement Data: This includes pseudonymous identifiers captured on user interactions with Copilot, such as accepted or dismissed completions, error messages, system logs, and product usage metrics. Prompts: These are inputs for chat or code, along with context, sent to Copilot's AI to generate suggestions. Suggestions: These are the AI-generated code lines or chat responses provided to users based on their prompts. Feedback Data: This comprises real-time user feedback, including reactions (e.g., thumbs up/down) and optional comments, along with feedback from support tickets.
Does GitHub use Copilot Business or Enterprise data to train GitHub’s model?
How does GitHub use the Copilot data?
Deliver, maintain, and update the services as per the customer's configuration and usage, to ensure personalized experiences and recommendations Troubleshoot, which involves preventing, detecting, resolving, and mitigating issues, including security incidents and product-related problems, by fixing software bugs and maintaining the online services' functionality and up-to-dateness Enhance user productivity, reliability, effectiveness, quality, privacy, accessibility, and security by keeping the service current and operational
Billing and account management To comply with and resolve legal obligations For abuse detection, prevention, and protection, virus scanning, and scanning to detect violations of terms of service To generate summary reports for calculating employee commissions and partner incentives To produce aggregated reports for internal use and strategic planning, covering areas like forecasting, revenue analysis, capacity planning, and product strategy,
How long does GitHub retain Copilot data for Business and Enterprise customers?
Prompts and Suggestions: Not retained User Engagement Data: Kept for two years. Feedback Data: Stored for as long as needed for its intended purpose.
Prompts and Suggestions: Retained for 28 days. User Engagement Data: Kept for two years. Feedback Data: Stored for as long as needed for its intended purpose.
Why do some Copilot features retain prompts and suggestions?
Does GitHub Copilot support compliance with the GDPR and other data protection laws?
Does GitHub Copilot ever output personal data?
How does Copilot allow users to access, alter or delete personal data?
Responsible AI
What are the intellectual property considerations when using GitHub Copilot?
Does GitHub Copilot include a filtering mechanism to mitigate risk?
GitHub has created a duplication detection filter to detect and suppress suggestions that contain code segments over a certain length that match public code on GitHub. This filter can be enabled by the administrator for your enterprise and it can apply for all organizations within your enterprise, or the administrator can defer control to individual organizations. With the filter enabled, Copilot checks code suggestions for matches or near-matches against public code on GitHub of 65 lexemes or more (on average,150 characters). If there is a match, the suggestion will not be shown to the user. In addition to off-topic, harmful, and offensive output filters, GitHub Copilot also scans the outputs for vulnerable code.
Does GitHub Copilot include features to make it easier for users to identify potentially relevant open source licenses for matching suggestions?
Who owns the suggestions provided by GitHub Copilot?
If a suggestion is capable of being owned, our terms are clear: GitHub does not claim ownership. GitHub does not claim ownership of any suggestion. In certain cases, it is possible for Copilot to produce similar suggestions to different users. For example, two unrelated users both starting new files to code the quicksort algorithm in Java will likely get the same suggestion. The possibility of providing similar suggestions to multiple users is a common part of generative AI systems.
Can GitHub Copilot introduce insecure code in its suggestions?
Is GitHub Copilot intended to fully automate code generation and replace developers?
The product is called “Copilot” not “Autopilot” and it’s not intended to generate code without oversight. You should use exactly the same sorts of safeguards and diligence with Copilot’s suggestions as you would use with any third-party code. Identifying best practices for use of third party code is beyond the scope of this section. That said, whatever practices your organization currently uses – rigorous functionality testing, code scanning, security testing, etc. – you should continue these policies with Copilot’s suggestions. Moreover, you should make sure your code editor or editor does not automatically compile or run generated code before you review it.
Can GitHub Copilot users simply use suggestions without concern?
As noted above, GitHub Copilot is not intended to replace developers, or their individual skill and judgment, and is not intended to fully automate the process of code development. The same risks that apply to the use of any third-party code apply to the use of Copilot’s suggestions. Depending on your particular use case, you should consider implementing the protections discussed above. It is your responsibility to assess what is appropriate for the situation and implement appropriate safeguards. You’re entitled to IP indemnification from GitHub for the unmodified suggestions when Copilot’s filtering is enabled. If you do elect to enable this feature, the copyright responsibility is ours, not our customers. As part of our ongoing commitment to responsible AI, GitHub and Microsoft extends our IP indemnity and protection support to our customers who are empowering their teams with GitHub Copilot. See Microsoft's Copilot Copyright Commitment for more details.
Does GitHub Copilot support accessibility features?
Does GitHub Copilot produce offensive outputs?
Will GitHub Copilot work as well using languages other than English?
Upcoming features and offerings
How does the GitHub Copilot Customization waitlist work?
Github Copilot capabilities for pull requests are only available through the new GitHub Copilot Enterprise plan. What does that mean for current participants in the GitHub Next technical preview for GitHub Copilot for Pull Requests or are on that waitlist?
Github Copilot capabilities for knowledge bases are only available through the new GitHub Copilot Enterprise plan. What does that mean for current participants in the GitHub Next technical preview for GitHub Copilot for Docs or are on that waitlist?
When will Copilot Chat be available on mobile?
-
Authentication with SAML single sign-on (SSO) available for organizations using GitHub Enterprise Cloud.