GitHub Copilot

GitHub’s AI coding assistant, not the same as Microsoft Copilot: it suggests code as you type and takes on whole tasks

GitHub•Write code•Earliest fact checked 2026-11-14
Free to startNeeds self-hosting
Get started Official site We only link to official sites.

Good for: You want to start for free: Copilot Free gives 2,000 code completions a month, with no credit card

Not for: You want to pick the AI model yourself without paying: on Copilot Free the model is chosen for you automatically

What it does

Copilot suggests code as you type, answers questions about your code and reviews changes. In agent mode, or as a cloud agent on paid plans, it takes on a task: it researches the repository, edits files and prepares a pull request for your review.

Checked 2026-11-14 · Source · Source 2 · Source 3

Good for you if…

  • You want to start for free: Copilot Free gives 2,000 code completions a month, with no credit card
  • Your code is on GitHub: on a paid plan, Copilot can take an issue, make the change and open a pull request for you to review
  • You use VS Code, Visual Studio, JetBrains, Xcode, Eclipse or Neovim, or the terminal, and want one assistant in all of them

Think twice if…

  • You want to pick the AI model yourself without paying: on Copilot Free the model is chosen for you automatically
  • You don’t want your code used for training on a personal plan: since April 24, 2026 GitHub may use it unless you turn this off in your Copilot settings
  • You were looking for Microsoft’s Copilot assistant for chat and everyday work: that’s a different product

How to start

  1. Sign in to GitHub or create a free account, then turn on Copilot Free from github.com/features/copilot. No credit card is needed.
  2. Install Copilot in your editor by following GitHub’s official install guide (VS Code, Visual Studio, JetBrains, Xcode, Eclipse or Vim/Neovim). You can also install the Copilot CLI to use it in the terminal.
  3. Sign in with your GitHub account when your editor asks.
  4. Start typing and press Tab to accept a suggestion, or open Copilot Chat and describe the change in plain words. Agent mode can edit several files for you.
  5. Check the changes before you keep them.

Official install guide Checked 2026-11-14 · Source

Will it train AI on my code?

On personal plans, yes unless you turn it off. Since April 24, 2026, on Copilot Free, Pro, Pro+ and Max, GitHub may use your Copilot prompts, suggestions, code snippets and related context to train and improve AI models. To stop it, open Copilot settings on GitHub and set “Allow GitHub to use my data for AI model training” to Disabled. On Copilot Business and Enterprise, GitHub doesn’t use your data to train AI models. GitHub says its agreements with OpenAI, Anthropic, Google and xAI mean those model makers don’t train on what Copilot sends them.

Applies to GitHub Copilot in your editor, the CLI, the Copilot app, on GitHub’s website or mobile, signed in with a GitHub account. Your prompts and code go to GitHub and to the company whose model answers (for example OpenAI, Anthropic, Google or xAI). Personal Free, Pro, Pro+ and Max: GitHub may train unless you opt out. Business and Enterprise: not used for training. Not checked: connecting your own model provider in the Copilot app, Microsoft’s own MAI models, and preview features.

From the official terms
Starting on April 24, 2026, if you have a Copilot Free, Copilot Pro, Copilot Pro+, or Copilot Max plan, GitHub may use your interactions with GitHub features and services—including inputs, outputs, code snippets, and associated context—to train and improve AI models.
  • You can opt-out from allowing your data to be used for training in your personal settings for GitHub Copilot. Source 2
  • Select the "Allow GitHub to use my data for AI model training" dropdown menu and click Disabled. Source 3
  • GitHub does not use Copilot Business or Copilot Enterprise customer data to train AI models. Source 4
  • OpenAI makes the following data commitment: We [OpenAI] do not train models on customer business data. Source 5
  • GitHub has provider agreements in place to ensure data is not used for training. Source 6
  • Google Cloud: Google commits to not training on GitHub data as part of their service terms. Source 7
  • xAI operates these models in GitHub Copilot under a zero data retention API policy. Source 8
Checked 2026-11-14 · Source · Source 2 · Source 3 · Source 4 · Source 5 · Source 6 · Source 7 · Source 8

Summary of the maker’s terms as checked on 2026-11-14. Always read the official terms; this is not legal advice.