Introduction
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?.
Instructions for using Copilot differ depending on where you are using it. This version of the quickstart is for using Copilot on the GitHub website. Click the tabs above for instructions on using Copilot in other environments.
Sign up for GitHub Copilot
To use Copilot, you’ll need a personal GitHub account with access to a Copilot plan. You can:
- Start with Copilot Free to explore limited features without subscribing to a plan.
- Upgrade to Copilot Pro or Copilot Pro+ to unlock more features, models, and request limits.
For more information about the different plans for GitHub Copilot, see Plans for GitHub Copilot.
Asking your first question
-
On GitHub, navigate to a repository and open a file.
-
Click the Copilot icon () at the top right of the file view.

-
Type a question in the "Ask Copilot" box at the bottom of the chat panel and press Enter.
For example, you could enter:
Explain this file.How could I improve this code?How can I test this code?
Copilot responds to your request in the panel.
-
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.
Other questions you can ask
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
- Find out about the changes in a pull request
- Ask a question about a specific issue or commit
For more information, see Asking GitHub Copilot questions in GitHub.
Next steps
- Find out more about GitHub Copilot Chat - See Asking GitHub Copilot questions in your IDE.
- Get Copilot inline suggestions in an IDE - See Getting code suggestions in your IDE with GitHub Copilot.
- Learn how to write effective prompts - See Prompt engineering for GitHub Copilot Chat.
- Use Copilot on your mobile device - See Asking GitHub Copilot questions in GitHub Mobile.
- Use Copilot on the command line - See Using the GitHub CLI Copilot extension.
GitHub Copilot provides coding suggestions as you type in your editor. You can also ask Copilot 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?.
Instructions for using Copilot differ depending on where you are using it. This version of the quickstart is for Windows Terminal. Click the tabs above for instructions on using Copilot in other environments.
Sign up for GitHub Copilot
To use Copilot, you’ll need a personal GitHub account with access to a Copilot plan. You can:
- Start with Copilot Free to explore limited features without subscribing to a plan.
- Upgrade to Copilot Pro or Copilot Pro+ to unlock more features, models, and request limits.
For more information about the different plans for GitHub Copilot, see Plans for GitHub Copilot.
Prerequisites
- Subscription to Copilot. To use GitHub Copilot in Windows Terminal, you must have an active GitHub Copilot subscription. See What is GitHub Copilot?.
- Windows Terminal Canary. Terminal Chat is only available in Windows Terminal Canary.
Use Copilot in Terminal Chat
After you've installed Windows Terminal Canary, you can use Copilot in Terminal Chat to ask command line-related questions.
-
Open Settings from the dropdown menu.

-
Go to the Terminal Chat