GitHub Copilot
GitHub Copilot is an AI helper for programmers that offers the next lines of code while you write, explains code when you ask, and can take on jobs you give it.
GitHub Copilot is a coding helper made by GitHub. GitHub first shared it as a test version, built together with OpenAI. It lives inside code editors such as Xcode, Vim/Neovim, Visual Studio, JetBrains IDEs and Visual Studio Code, and on GitHub.
The best-known part is the inline suggestion. As you type, Copilot guesses what comes next and shows it in faint grey text. Press a key to keep it, or just keep typing. Under the hood, a large language model (a program trained on huge amounts of text and code to predict what comes next) makes that guess from the code around your cursor.
Copilot also sits inside GitHub itself. So one job can move from an issue (a written task), to an agent, to a pull request (a proposed change others can review), and then to a review. There is a free plan with limited features. What you can use depends on your plan, your editor and your organisation’s rules.
Writing software has slow, repetitive parts, and help that guesses can also guess wrong.
Follow one inline suggestion from your keyboard to your file.
- 1 · typeYou write code, or a comment in plain words that describes what you want.
- 2 · contextCopilot takes the code you are working on as context.
- 3 · predictOne or more large language models turn that context into a suggested next piece of code.
- 4 · checkCopilot checks the suggestion against public code and blocks or labels matches, depending on your setting.
- 5 · decideThe suggestion appears as dimmed ghost text that you can accept, dismiss or ignore by typing on.
Copilot guesses; you stay responsible for reviewing and testing what you accept.
| Who | What they ask | What it works with |
|---|---|---|
| Student | “Write a function that checks whether a word is a palindrome.” | A comment describing the function and the open file |
| Maintainer | “Fix this small bug from the backlog and open a pull request.” | The issue and the repository |
| Reviewer | “Summarise this pull request and suggest improvements.” | The changes in the pull request |
- It offers code as you type, from single lines to whole blocks.
- It can turn a plain-language comment into suggested code.
- Its cloud agent can take an issue (a written bug or task), change code on a separate copy called a branch, and prepare a pull request.
- It can review pull requests and suggest possible improvements.
- It cannot promise correct code, so you still review and test it.
- It sees nearby code, so it can miss bigger design problems.
- It is weaker in programming languages that have little public code.
- Security-sensitive code needs extra care, because a suggestion can open a weakness.
Sources used
This explainer is written in original language. The links below support its factual claims.
- docsAbout GitHub Copilot, GitHub · read 28 Sept 2026
- docsGitHub Copilot code suggestions in your IDE, GitHub · read 28 Sept 2026
- docsApplication card: GitHub Copilot inline suggestions, GitHub · read 28 Sept 2026
- docsAbout GitHub Copilot cloud agent, GitHub · read 28 Sept 2026
- docsGitHub Copilot code referencing, GitHub · read 28 Sept 2026
- docsPlans for GitHub Copilot, GitHub · read 28 Sept 2026
- officialIntroducing GitHub Copilot: your AI pair programmer, GitHub · read 28 Sept 2026