โ† Back to Course|Developer Tools
๐Ÿ™
AI Coding Assistant$10/month ยท Free for Students

GitHub Copilot

by GitHub (Microsoft) - the most widely used AI coding assistant

GitHub Copilot is the original mainstream AI coding assistant, used by over 1.8 million developers. It integrates into VS Code, JetBrains IDEs, Vim/Neovim, and GitHub.com. It offers inline completions, a chat panel with slash commands, and Copilot Workspace for agentic PR-level tasks.

Made by
GitHub / Microsoft
Individual
$10/month
Business
$19/user/month
Free tier
Students & OSS
Works in
VS Code, JetBrains, Vim
Powered by
GPT-5.5, Claude, Gemini

โšก Install & Setup (VS Code)

1
Get a Copilot subscription
Go to github.com/features/copilot โ†’ Start free trial (30 days free). Students: apply at github.com/education for free access.
2
Install the extensions
VS Code Extensions โ†’ search "GitHub Copilot" โ†’ install it. Then search "GitHub Copilot Chat" and install that too (separate extension).
3
Sign in with GitHub
VS Code will prompt you to sign in with GitHub. Authorize in the browser. Your subscription activates automatically.
4
Configure your model
Copilot Settings โ†’ Model โ†’ choose GPT-5.5, Claude Sonnet 4.6, or Gemini 3.5. You can switch per task.
5
Enable Copilot Edits (optional)
View โ†’ Copilot Edits to enable multi-file agentic editing. This is Copilot's answer to Cursor Composer.

๐Ÿš€ Core Features & How to Use Them

โ‘  Inline Completions

Start typing - ghost text appears. Tab to accept, Esc to dismiss, Alt+] to see next suggestion.

# fetch user data with retry logic and exponential backoff
async def fetch_user(user_id: str):
# โ† Copilot writes the full implementation
โ‘ก Chat Panel Slash Commands
/explain
Explain selected code in plain English
/fix
Find and fix a bug in selection
/tests
Generate unit tests for selection
/doc
Add JSDoc/docstring comments
/optimize
Suggest performance improvements
/new
Scaffold a new file or component
โ‘ข Copilot Edits (Multi-File Agentic Mode)

View โ†’ Copilot Edits โ†’ describe a task spanning multiple files:

"Add rate limiting to all POST endpoints. Use express-rate-limit with 100 requests per 15 minutes per IP. Add the middleware in app.ts."

Copilot Edits plans the changes, shows diffs across files, and lets you review and accept each one.

โŒจ๏ธ Key Shortcuts

Accept suggestionTab
Next suggestionAlt+]
Previous suggestionAlt+[
Open Chat panelCtrl+Cmd+I (Mac)
Inline EditCmd+I / Ctrl+I
Trigger suggestionAlt+\

๐Ÿ’ก Pro Tips

  • Free for students: Verify at github.com/education - includes Copilot + other GitHub Pro features
  • Use @workspace in chat to ask about your entire project: "@workspace where do we handle auth?"
  • Copilot works in JetBrains (IntelliJ, WebStorm, PyCharm) - install from the JetBrains Marketplace
  • Switch models per task: use Claude Sonnet 4.6 for analysis, GPT-5.5 for coding, a reasoning model for hard math/logic
  • Add a .github/copilot-instructions.md file to set project-wide instructions for Copilot

โš–๏ธ Which Coding Tool Should I Pick?

The current tool is highlighted. There is no single winner - pick by how you like to work.

ToolTypePricingBest forModels / AI
GitHub Copilot(this page)IDE extensionFree tier; Pro ~$10/moAI in your existing editorGPT-5.5, Claude Sonnet 4.6, Gemini 3.5
CursorAI IDE (VS Code fork)Hobby free; Pro $20/moAll-round AI editor + agentGPT-5.5, Claude Opus 4.8 / Sonnet 4.6
WindsurfAI IDE (VS Code fork)Free tier; paid plansAgentic flows (Cascade)Frontier models + own
Google AntigravityAgent-first IDEFree public previewAutonomous build + browser testGemini 3.5
Claude Code (CLI)Terminal agentClaude sub or APIAgentic coding in the terminalClaude Opus 4.8 / Sonnet 4.6 / Haiku 4.5
VS Code + AI extEditor + extensionsFree options existKeep VS Code, add AIDepends on extension

Pricing and model support change often. Verified June 2026 - confirm on each tool's official site.

๐Ÿ› ๏ธ Troubleshooting & Common Pitfalls

โš  No suggestions showing
Confirm the Copilot extension is installed and enabled, you are signed in to GitHub, and your subscription / free tier is active for that language.
โš  Copilot Chat is missing
Update the Copilot and Copilot Chat extensions - chat needs the latest versions.
โš  Free-tier limits hit
The free tier caps completions and chat per month. Upgrade to Pro, or use a free alternative like the Windsurf plugin.
โš  Wrong model is being used
Copilot Settings โ†’ Model lets you switch (GPT-5.5, Claude Sonnet 4.6, Gemini 3.5) per task.

๐Ÿ“š Related Course Lessons

Go deeper on the skills this tool is for:

L38 - AI Tools Landscape โ†’L39 - Inline Code Completion โ†’L40 - AI Chat for Development โ†’L42 - Debugging with AI โ†’

๐Ÿ”— Official Resources

Copilot home โ†—Overview + sign upDocumentation โ†—VS Code, JetBrains, CLI, chatPlans & pricing โ†—Free, Pro, Business, EnterpriseVS Code extension โ†—Install in VS CodeChangelog โ†—Copilot product updates

Links open the official sites. Pricing and features change often - always confirm there. (Verified June 2026.)

โ†’ Compare: Cursorโ†’ Compare: Windsurfโ†’ Compare: Claude Code CLI