Skip to main content

About GitHub Copilot Individual

GitHub Copilot can help you code by offering autocomplete-style suggestions. You can learn how GitHub Copilot works, and what to consider while using GitHub Copilot.

About GitHub Copilot

GitHub Copilot is an AI pair programmer that offers autocomplete-style suggestions as you code. You can receive suggestions from GitHub Copilot either by starting to write the code you want to use, or by writing a natural language comment describing what you want the code to do. GitHub Copilot analyzes the context in the file you are editing, as well as related files, and offers suggestions from within your text editor. GitHub Copilot is powered by a generative AI model developed by GitHub, OpenAI, and Microsoft.

GitHub Copilot is trained on all languages that appear in public repositories. For each language, the quality of suggestions you receive may depend on the volume and diversity of training data for that language. For example, JavaScript is well-represented in public repositories and is one of GitHub Copilot's best supported languages. Languages with less representation in public repositories may produce fewer or less robust suggestions.

GitHub Copilot 在 Visual Studio Code、Visual Studio、Vim、Neovim、IDE 的 JetBrains 套件和 Azure Data Studio 中作为扩展提供。 有关在 Visual Studio Code、Visual Studio、Vim、Neovim 和 JetBrains 中使用 GitHub Copilot 的详细信息,请参阅“开始使用 GitHub Copilot”。 有关在 Azure Data Studio 中使用 GitHub Copilot 的详细信息,请参阅 Microsoft Learn 中的 GitHub Copilot 扩展

Understanding the differences between Copilot Individual and Copilot Business

Copilot IndividualCopilot Business
定价每月 10 美元
每年 100 美元
每用户每月 19 美元
GitHub 帐户类型个人帐户组织或企业帐户
遥测
阻止与公共代码匹配的建议
直接插入编辑器
提供多行函数建议
组织范围的策略管理
审核日志
通过自定义证书提供的 HTTP 代理支持

有关通过自定义证书提供的代理支持的详细信息,请参阅“为 GitHub Copilot 配置网络设置”。

Using GitHub Copilot

You can see real-world examples of GitHub Copilot in action. For more information, see the GitHub Copilot website.

GitHub Copilot offers suggestions from a model that OpenAI built from billions of lines of open source code. As a result, the training set for GitHub Copilot may contain insecure coding patterns, bugs, or references to outdated APIs or idioms. When GitHub Copilot produces suggestions based on this training data, those suggestions may also contain undesirable patterns.

You are responsible for ensuring the security and quality of your code. We recommend you take the same precautions when using code generated by GitHub Copilot that you would when using any code you didn't write yourself. These precautions include rigorous testing, IP scanning, and tracking for security vulnerabilities. GitHub provides a number of features to help you monitor and improve code quality, such as GitHub Actions, Dependabot, CodeQL and code scanning. All these features are free to use in public repositories. For more information, see "了解 GitHub Actions" and "GitHub 安全功能."

GitHub Copilot uses filters to block offensive words in the prompts and avoid producing suggestions in sensitive contexts. We are committed to constantly improving the filter system to more intelligently detect and remove offensive suggestions generated by GitHub Copilot, including biased, discriminatory, or abusive outputs. If you see an offensive suggestion generated by GitHub Copilot, please report the suggestion directly to copilot-safety@github.com so that we can improve our safeguards.

About billing for GitHub Copilot

GitHub Copilot is a paid feature, requiring a monthly or yearly subscription. GitHub Copilot subscriptions can be paid for and managed through a personal account on GitHub.com with Copilot Individual, or paid for and managed centrally through an organization account with GitHub Copilot Business.

Verified students, teachers, and maintainers of popular open source projects on GitHub are eligible to use Copilot Individual for free. If you meet the criteria for a free Copilot Individual subscription, you will be automatically notified when you visit the GitHub Copilot subscription page. If you do not meet the criteria for a free Copilot Individual subscription, you will be offered a 30-day free trial, after which a paid subscription is required for continued use. For more information, see "关于 GitHub Copilot 的计费."

About the license for the GitHub Copilot plugin in JetBrains IDEs

GitHub, Inc. is the licensor of the JetBrains plugin. The end user license agreement for this plugin is the GitHub Terms for Additional Products and Features and use of this plugin is subject to those terms. JetBrains has no responsibility or liability in connection with the plugin or such agreement. By using the plugin, you agree to the foregoing terms.

About privacy for GitHub Copilot Individual

You have the ability to manage and make choices regarding the collection, retention, and processing of your data, allowing you to maintain control over your privacy while using GitHub Copilot Individual.

What data does GitHub Copilot Individual collect?

GitHub Copilot Individual relies on file content and additional data to work. It collects data to provide the service, some of which is then retained for further analysis and product improvements. GitHub Copilot processes the following data for individual users.

User Engagement Data

When you use GitHub Copilot it will collect usage information about events generated when interacting with the IDE or editor. These events include user edit actions like if Suggestions are accepted or dismissed, and error and general usage data to identify metrics like latency and features engagement. This information may include personal data, such as pseudonymous identifiers.

Prompts

A Prompt is the bundle of contextual information the GitHub Copilot extension sends when a user is working on a file and pauses typing, or when the user opens the Copilot pane. Prompts are retained unless you have disabled code snippet collection in your settings.

Suggestions

A Suggestion is one or more lines of proposed text returned to the GitHub Copilot extension after a Prompt is received and processed by the AI-model. Suggestions are retained unless you disable code snippet collection in your settings.

How is the data in GitHub Copilot Individual used and shared?

User Engagement Data, Prompts and Suggestions are used by GitHub and Microsoft to improve GitHub Copilot and related services and to conduct product and academic research.

  • Enhancing GitHub Copilot: The data collected is utilized to improve GitHub Copilot by evaluating different strategies for processing and predicting suggestions that users may find valuable.
  • Developing related developer products and services: The insights gained from the data help in the development and improvement of other developer tools and services offered by GitHub and Microsoft.
  • Detecting abuse and policy violations: The data is examined to investigate and identify any potential misuse or violation of the Acceptable Use Policies associated with GitHub Copilot.
  • Conducting experiments and research: The data is used for conducting experiments and research related to developers and their utilization of developer tools and services. This aids in gaining valuable insights into user behavior and preferences.
  • Evaluating GitHub Copilot: The impact of GitHub Copilot on users is assessed by measuring its positive effects and benefits.
  • Improving code generation models: The collected data is employed to refine and enhance the underlying models responsible for generating code. This is achieved by utilizing both positive and negative examples.
  • Fine-tuning ranking and sorting algorithms: The data helps in the optimization and improvement of algorithms used for ranking and sorting suggestions, thereby enhancing the overall user experience.

How is the transmitted Code Snippets data protected?

To ensure the protection of sensitive data such as user edit actions, source code snippets, and repository URLs/file paths, several protective measures are implemented. These measures include:

  • Encryption of transmitted data: All data is encrypted both during transit and while at rest, ensuring that it remains secure and inaccessible to unauthorized parties.
  • Strict access control: Access to the data is tightly regulated and limited to specific individuals, including:
    • Named GitHub personnel working on the GitHub Copilot team or the GitHub platform health team.
    • Microsoft personnel involved with the GitHub Copilot team.
  • Role-based access controls and multi-factor authentication: People who require access to code snippet data must adhere to role-based access controls. Additionally, multi-factor authentication is implemented to add an extra layer of security, ensuring that only authorized individuals can access the data.

How can users of GitHub Copilot Individual control use of their Code Snippets Data?

GitHub Copilot gives you choices about how it uses the data it collects.

  • User Engagement Data: User Engagement Data, including pseudonymous identifiers and general usage data, is necessary for the proper functioning of GitHub Copilot. This data is collected, processed, and shared with Microsoft while you use GitHub Copilot.
  • Retention of Prompts and Suggestions: You have the option to decide whether Prompts and Suggestions are retained by GitHub and shared with Microsoft. These preferences can be adjusted in the GitHub Copilot settings.
  • Requesting Deletion: If you wish to delete Prompts and Suggestions associated with your GitHub identity, contact GitHub 支持.

Will my private code be shared with other users?

No. We follow responsible practices in accordance with our Privacy Statement to ensure that your code snippets will not be used as suggested code for other users of GitHub Copilot.

Further reading