# GitHub Copilot

> A helper from GitHub that writes code with you as you type.

**Field:** Artificial Intelligence  
**Category:** AI Tools & Platforms  
**Also known as:** Copilot for code, GitHub Copilot Chat, Copilot coding agent

## Think of it like

It is like a friend who sits by you and ends your lines for you.

## Definition

GitHub Copilot is GitHub's AI helper for writing code. It works inside code editors such as VS Code and JetBrains tools. As you type, it shows the next lines in grey, and you press Tab to keep them. You can also chat with it, or let its agent change many files and run tests. On GitHub you can give it a task and it opens a pull request. It came out in 2021 and has had a free plan since December 2024.

## Example

Lucy writes a function name and a comment. GitHub Copilot fills in the whole function, and she reads it before she presses Tab.

## Why it matters

It was the first AI code tool that lots of coders used each day. Many tools since then work the same way.

## Common mistake

Keeping each line it gives you without reading it. It can write code that looks right but has a bug or a hole.

## Three principles

- **In your editor.** VS Code and more.
- **Suggest, chat, agent.** Three ways to help.
- **Read before you keep.** It can be wrong.

## Related terms

- [AI Code Completion](https://learn.benibix.com/term/ai/ai-code-completion)
- [AI Coding Assistant](https://learn.benibix.com/term/ai/ai-coding-assistant)
- [GitHub](https://learn.benibix.com/term/development/github)
- [Visual Studio Code](https://learn.benibix.com/term/development/visual-studio-code)
- [Microsoft Copilot](https://learn.benibix.com/term/ai/microsoft-copilot)
- [AI Copilot](https://learn.benibix.com/term/ai/ai-copilot)
- [Cline](https://learn.benibix.com/term/ai/cline)

## Told apart from

- [GitHub Copilot vs Microsoft Copilot](https://learn.benibix.com/compare/github-copilot-vs-microsoft-copilot): People often think GitHub Copilot and Microsoft Copilot are one tool. Both are called Copilot, and Microsoft owns GitHub. But they do different jobs. GitHub Copilot helps people write code, in code tools and on GitHub. Microsoft Copilot is a general helper in Windows, Edge, Bing and Office. Each has its own plans, and you pay for each one on its own.
- [Cursor vs GitHub Copilot](https://learn.benibix.com/compare/cursor-vs-github-copilot): People think Cursor is a plug-in like GitHub Copilot, and it is not. GitHub Copilot is an add-on. You put it into the editor you already use. Cursor is a whole editor of its own, built from the code of a free editor most coders know. You install it on its own. Both suggest code as you type, and both have an agent. The real choice is to keep your editor or switch to a new one.

## Taught in

- [AI Coding and Data Analysis](https://learn.benibix.com/learn/ai-use-case/ai-coding-and-data-analysis): AI Assistants and Chatbots, 7/13
- [GitHub Copilot and Cline](https://learn.benibix.com/learn/ai-ai-tools/github-copilot-and-cline): AI Apps and Tools, 6/10

![Inside a code editor: grey suggested code after the cursor, a chat panel, and an agent that opens a pull request.](https://learn.benibix.com/diagrams/at-github-copilot.svg)

---

Source: https://learn.benibix.com/term/ai/github-copilot
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
