All tools

Coding & development · GitHub

GitHub Copilot

Inline code suggestions and a chat assistant inside your editor and on GitHub.

Cost

Free tier · Pro $10/mo

01

What it is

GitHub Copilot is an AI pair programmer. It suggests code as you type in VS Code, JetBrains, Neovim and Visual Studio, and offers a chat panel for questions and edits. It also reviews pull requests and answers questions in github.com.

02

What it does

It completes lines and functions, writes tests, explains unfamiliar code, proposes fixes for errors, and can draft a pull request summary from a change.

03

Who should use it

Professional developers and students. Free access is available for verified students and open-source maintainers, which makes it a low-risk first AI coding tool.

04

Problems it solves

  • Writing boilerplate and repetitive patterns
  • Learning a new framework's idioms
  • Getting a first version of a test file
  • Understanding an error message
05

Most important features

  • Inline completions as you type
  • Copilot Chat in the editor
  • Pull request summaries and review
  • Multiple model choice
  • Free tier for individuals
06

How much it costs

Free tier · Pro $10/mo

A free tier gives a monthly allowance of completions and chat requests. Pro (around $10/month) is unlimited for individuals with higher limits; Business is billed per seat. Confirm on GitHub's pricing page.

07

Is there a free version?

Free version available

Yes — a monthly allowance of completions and chat messages, plus free access for verified students and maintainers of popular open-source projects.

08

How to create an account

Install the Copilot extension in your editor, sign in with your GitHub account, and activate the free plan or a subscription on github.com. No separate Copilot account exists.

09

How to set it up

  1. 1Install the Copilot extension for your editor
  2. 2Sign in with GitHub when prompted
  3. 3Activate the plan on your GitHub settings page
  4. 4Open the Copilot Chat panel and pin it
  5. 5Check the shortcut for inline suggestions
  6. 6Turn off suggestions for files where they distract you
10

How to use it, step by step

  1. 1Start typing and accept a suggestion with Tab when it is right
  2. 2Open chat and ask about the file you are in
  3. 3Select code and ask for a refactor or an explanation
  4. 4Use the slash commands for tests and documentation
  5. 5Review every suggestion before committing
  6. 6Ask for a pull request summary when you open one
11

Beginner tutorials

  • Accepting and rejecting your first suggestions
  • Explaining a function you did not write
  • Generating a test file for one function
12

Advanced tutorials

  • Using chat with context from several files
  • Copilot code review on a pull request
  • Writing a repository instructions file for consistent answers
13

Video demonstrations

  • GitHub's official Copilot getting-started series on the GitHub YouTube channel
14

Example projects

  • A set of unit tests for an untested utility module
  • A small CLI script from a written description
  • Refactoring a long function into smaller pieces
15

Ready-to-use prompts

Explain what the selected function does, then list the edge cases it does not handle.

Write tests for the selected function using the project's existing test framework and naming style.

Refactor the selected block to remove the repeated validation, keeping behaviour identical.

16

Common mistakes

  • Accepting suggestions without reading them
  • Letting it invent library methods that do not exist
  • Ignoring licence implications of generated snippets
  • Using it for security-sensitive code without review
17

Troubleshooting

  • No suggestions appear: check the extension is enabled for that file type.
  • Chat ignores context: open the relevant files or reference them explicitly.
  • Hitting the free limit: wait for the monthly reset or upgrade.
  • Suggestions are noisy: disable inline completions and keep chat only.
18

Similar alternatives

  • Cursor — deeper project-wide editing
  • Windsurf — agent-first editor
  • Tabnine — privacy-focused completions
  • Replit — browser IDE with AI and hosting
19

Advantages and disadvantages

Advantages

  • Works in the editor you already use
  • Generous free tier
  • Strong GitHub integration
  • Good for tests and boilerplate

Disadvantages

  • Less capable at large multi-file edits than agent tools
  • Suggestions can be subtly wrong
  • Free limits are modest
  • Quality varies by language
20

Official documentation and support