GitHub Copilot

Quickstart for GitHub Copilot

5min

You can use Copilot to get answers to coding-related questions, such as how best to code something, how to fix a bug, or how someone else's code works. For full details of what Copilot can do, see What is GitHub Copilot?.

If you have access to Copilot Workspace, Copilot can also help you when you are editing files in a pull request on the GitHub website by offering you code completion suggestions. For more information about Copilot Workspace, see Using Copilot to help you work on a pull request.

Instructions for using Copilot differ depending on where you are using it. This version of the quickstart is for GitHub. Click the tabs above for instructions on using Copilot in other environments.

If you don't already have access to GitHub Copilot, you can set up a free trial or subscription for Copilot Pro on your personal GitHub account.

Alternatively, you can set up Copilot Free which enables you to enjoy limited access to some of the features of Copilot, without needing to sign up for a subscription. See About GitHub Copilot Free.

For more information about the different plans for GitHub Copilot, see Subscription plans for GitHub Copilot.

  1. On GitHub, navigate to a repository and open a file.
  2. 
  3. 
  4. You can continue the conversation by asking a follow-up question. For example, you could type "tell me more" to get Copilot to expand on its last comment.

There are many more things you can do with GitHub Copilot Chat in GitHub. For example:

  • Ask a general question about software development
  • Ask exploratory questions about a repository
  • Ask a question about a knowledge base
  • Find out about the changes in a pull request
  • Ask a question about a specific issue or commit



🤔
Have a question?
Our super-smart AI,knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.