Skip to content

Copilot Fundamentals

What GitHub Copilot Is

GitHub Copilot is an AI-powered developer assistant that helps write, review, test, and explain code. It combines inline code completions, conversational chat, CLI assistance, and repository-aware tooling across IDEs, github.com, GitHub Mobile, and the shell.

Copilot runs on large language models hosted on Microsoft Azure by GitHub. Requests are sent from the user's IDE or browser to a GitHub-owned proxy, which handles authentication, telemetry, policy enforcement, and calls the appropriate model provider.

What is Copilot - Official introduction Copilot features map - Feature reference

The Model Stack

The underlying models evolve over time. At the time of writing, Copilot uses multiple providers:

  • OpenAI - GPT-4o, o-series, Codex-family for completions
  • Anthropic - Claude 3.5 Sonnet (selectable in chat where eligible)
  • Google - Gemini (selectable where available)

Not all models are available on all plans. Some models are labeled premium requests and consume monthly allotment on Pro/Pro+/Business/Enterprise.

Model Selection

On supported surfaces the chat UI has a model picker. Users can pick the model that best fits the task. Defaults are set by GitHub and may be overridden by organization policy in Business and Enterprise.

Copilot Product Family

Product Audience Notes
Copilot Free Individual trial and casual users Monthly caps on completions and chat; limited premium requests
Copilot Pro Paid individual Unlimited completions; chat; model choice
Copilot Pro+ Power user Higher premium request limits; access to more models
Copilot Business Organizations Admin controls, content exclusions, audit logs, IP indemnity
Copilot Enterprise Enterprise Cloud customers All Business features plus a larger monthly allowance of premium usage and the newest enterprise features

Plans change often. As of 2026-10 GitHub also lists Copilot Student (free for verified students) and Copilot Max for individuals, and usage of premium models is metered against a monthly allowance; check the plans page before relying on any matrix, including the one below.

Plans for Copilot - Plan comparison

Feature Matrix at a Glance

Feature Free Pro Business Enterprise
Inline completions Limited Yes Yes Yes
Chat in IDE and github.com Limited Yes Yes Yes
Model selection Some Yes Yes Yes
Duplicate detection filter User User Admin Admin
Content exclusions No No Yes Yes
Audit log events No No Yes Yes
IP indemnity No No Yes Yes
PR summaries No No No Yes
Copilot Spaces (replaced knowledge bases, 2025-11-01) Yes Yes Yes Yes
Custom models (preview) No No No Yes

Where Copilot Runs

IDEs

  • Visual Studio Code - First-class; most features land here first
  • Visual Studio 2022+ - Full chat and completions
  • JetBrains IDEs - IntelliJ, PyCharm, GoLand, WebStorm, Rider, RubyMine, and more
  • Neovim - Completions and chat plugin
  • Xcode - Completions and chat
  • Eclipse - Completions and chat
  • Azure Data Studio - Completions

Browser and Mobile

  • github.com - Chat (general and repo-aware), PR summaries, code review suggestions
  • GitHub Mobile - iOS and Android chat

CLI

  • The Copilot CLI: install with npm install -g @github/copilot (or Homebrew, WinGet, the install script, or gh copilot), then run copilot
  • An agent in the terminal: answers questions, writes and edits code, runs commands, manages files; -p runs one prompt non-interactively
  • The old gh copilot suggest / gh copilot explain extension stopped working on 2025-10-25; see note 07

The Three Core Interactions

1. Inline Completions (Ghost Text)

Copilot predicts the next code as you type. The suggestion appears as gray ghost text. Keyboard interactions include:

Action VS Code Shortcut
Accept full suggestion Tab
Accept next word Ctrl+Right (Cmd+Right)
Next suggestion Alt+]
Previous suggestion Alt+[
Dismiss Esc
Open suggestions panel Ctrl+Enter

2. Copilot Chat

Conversational assistant that can reason across files, explain code, refactor, generate tests, and scaffold projects. Available in IDEs, github.com, and Mobile.

3. CLI Assistant

The Copilot CLI (copilot) is an agent in the terminal: it can explain and generate commands and scripts, edit files and work with GitHub.com.

Supported Languages

Copilot supports many programming languages. Quality is highest for languages with large public training corpora:

  • Python, JavaScript, TypeScript
  • Go, Ruby, Java, Kotlin
  • C, C++, C#
  • Rust, Swift, PHP
  • Shell (Bash/Zsh), YAML, HCL/Terraform
  • SQL, HTML, CSS

Quality is lower for niche or proprietary languages and for very new framework versions that post-date training cutoff.

Context Collection

Copilot's suggestions depend heavily on context:

  • Current file - Buffer around the cursor
  • Other open tabs - Recently viewed files in the editor
  • Imports and types - Help anchor suggestions to the right APIs
  • Cursor position - The completion target
  • Chat attachments - Explicit #file, #selection, #codebase references

Context excluded by content exclusion rules is removed from these inputs.

Copilot Trust Center Highlights

  • Prompts and suggestions are encrypted in transit
  • Business and Enterprise: no retention of prompts and suggestions, no use for training
  • Individual: opt-in or opt-out to training data usage
  • The proxy performs policy enforcement, including content exclusion and duplicate detection

Copilot Trust Center - Security and privacy

Seat Management and Billing

  • Seats are assigned to specific users by org or enterprise admins
  • Users activate assigned seats by accepting the invitation
  • Seat assignment events appear in the audit log
  • Unassignment behavior depends on the billing cycle and plan
  • Utilization and last-activity reports help manage seat efficiency

Key Exam Facts

  • Copilot Business is the minimum plan for content exclusions, audit logs, and IP indemnity
  • Copilot Spaces replaced knowledge bases on 2025-11-01; Copilot code review and PR summaries are covered in note 07
  • Duplicate detection filter blocks suggestions matching ~150 characters of public code
  • IP indemnity requires Business/Enterprise AND duplicate detection enabled
  • The Copilot CLI is started with copilot; the gh-copilot extension is retired

Study Checklist

  • I can list all Copilot SKUs and one differentiator for each
  • I can name the IDEs Copilot supports
  • I can describe the three core interactions
  • I know where duplicate detection and content exclusions live
  • I understand the difference between Business and Enterprise features