Skip to main content
GitHub Docs
Version:
Enterprise Cloud
Search or ask Copilot
Search or ask
Copilot
Select language: current language is English
Search or ask Copilot
Search or ask
Copilot
Open menu
Open Sidebar
GitHub Copilot
/
How-tos
Home
GitHub Copilot
Get started
Quickstart
What is GitHub Copilot?
Plans
Features
Best practices
Choose enterprise plan
Achieve company goals
Concepts
Completions
Code suggestions
Text completion
Code referencing
Chat
Coding agent
Coding agent
Enable coding agent
MCP and coding agent
Code review
Code review
Coding guidelines
About MCP
Spaces
Billing
Copilot requests
Individual plans
Billing for individuals
Billing for organizations
Billing for enterprises
Billing for Spark
Prompt engineering
Response customization
Content exclusion
Knowledge bases
Extensions
About extensions
Agents
Skillsets
OpenID Connect
Policies
Rate limits
Network settings
Repository indexes
How-tos
Set up
Set up for self
Set up for organization
Set up for enterprise
Install Copilot extension
Install Copilot in the CLI
Get code suggestions
Get code suggestions
Write PR descriptions
Find matching code
Use Chat
Get started with Chat
Use Chat in IDE
Use Chat in Windows Terminal
Use Chat in GitHub
Use Chat in Mobile
Use Copilot agents
Coding agent
Create a PR
Assign Copilot to an issue
Track Copilot sessions
Review Copilot PRs
Extend coding agent with MCP
Customize the agent environment
Customize the agent firewall
Troubleshoot coding agent
Request a code review
Use code review
Configure coding guidelines
Configure automatic review
Use AI models
Configure access to AI models
Change the chat model
Change the completion model
Create a custom model
Provide context
Use Copilot Spaces
Create and use Copilot Spaces
Collaborate with your team
Use MCP
Extend Copilot Chat with MCP
Use the GitHub MCP Server
Create knowledge bases
Use knowledge bases
Install Copilot Extensions
Use Copilot Extensions
Install personal extensions
Install extensions
Configure custom instructions
Add personal instructions
Add repository instructions
Add organization instructions
Configure content exclusion
Exclude content from Copilot
Review changes
Use Copilot for common tasks
Use Copilot to create issues
Create a PR summary
Use Copilot in the CLI
Manage and track spending
Monitor premium requests
Manage for your enterprise
Manage company spending
Configure personal settings
Configure network settings
Configure in your environment
Customize Copilot in the CLI
Authenticate to GHE.com
Manage your account
Get started with a Copilot plan
Get free access to Copilot Pro
View and change your Copilot plan
Disable Copilot Free
Manage policies
Administer Copilot
Manage for organization
Manage plan
Subscribe
Cancel
Manage access
Grant access
Manage requests for access
Revoke access
Manage network access
Manage policies
Add Copilot coding agent
Set extension permissions
Review activity
Review user activity data
Review audit logs
Manage for enterprise
Manage plan
Subscribe
Cancel plan
Upgrade plan
Downgrade subscription
Manage access
Enable for organizations
Disable for organizations
View license usage
Manage network access
Manage enterprise policies
Manage Copilot coding agent
Download activity report
Troubleshoot Copilot
Troubleshoot common issues
View logs
Troubleshoot firewall settings
Troubleshoot network errors
Use Copilot Extensions
Set up Copilot Extensions
Create a Copilot Extension
Host your extension
Create GitHub App
Configure App for extension
Build a Copilot agent
Communicate with Copilot platform
Communicate with GitHub
Use context passing
Use Copilot's LLM
Build a Copilot skillset
Build Copilot skillsets
Set up OIDC
Debug Copilot Extension
Manage Extension availability
Reference
Cheat sheet
Keyboard shortcuts
Policy conflicts
AI models
Supported models
Model comparison
Model hosting
Allowlist reference
Extensions glossary
Metrics data
Tutorials
Copilot Chat Cookbook
All prompts
Copilot Chat Cookbook
Debug errors
Debug invalid JSON
Handle API rate limits
Analyze functionality
Explore implementations
Analyze feedback
Refactor code
Improve code readability
Fix lint errors
Refactor for optimization
Refactor design patterns
Refactor data access layers
Decouple business logic
Handle cross-cutting
Simplify inheritance hierarchies
Fix database deadlocks
Translate code
Document code
Document legacy code
Explain legacy code
Explain complex logic
Sync documentation
Write discussions or blog posts
Testing code
Generate unit tests
Create mock objects
Create end-to-end tests
Analyze security
Secure your repository
Manage dependency updates
Find vulnerabilities
Coding agent
Get the best results
Pilot coding agent
Compare AI models
Enhance agent mode with MCP
Try Extensions
Speed up development work
Explore a codebase
Explore issues and discussions
Explore pull requests
Write tests
Refactor code
Learn a new language
Easy apps with Spark
Build apps with Spark
Modernize legacy code
Migrate a project
Upgrade projects
Roll out at scale
Assign licenses
Set up self-serve licenses
Remind inactive users
Enable developers
Drive adoption
Integrate AI agents
Measure adoption
Analyze usage over time
Drive downstream impact
Increase test coverage
Accelerate pull requests
Reduce security debt
Responsible use
Copilot code completion
Chat in your IDE
Chat in GitHub
Chat in GitHub Mobile
Copilot in the CLI
Copilot in Windows Terminal
Copilot in GitHub Desktop
Pull request summaries
Copilot text completion
Code review
Copilot coding agent
Spark
GitHub Copilot
/
How-tos
How-tos for GitHub Copilot
Learn how to use GitHub Copilot.
Setting up GitHub Copilot
Setting up GitHub Copilot for yourself
Setting up GitHub Copilot for your organization
Setting up GitHub Copilot for your enterprise
Installing the GitHub Copilot extension in your environment
Installing GitHub Copilot in the CLI
Get suggestions from GitHub Copilot
Getting code suggestions in your IDE with GitHub Copilot
Writing pull request descriptions with Copilot text completion
Finding public code that matches GitHub Copilot suggestions
Copilot Chat
Getting started with prompts for Copilot Chat
Asking GitHub Copilot questions in your IDE
Asking GitHub Copilot questions in Windows Terminal
Asking GitHub Copilot questions in GitHub
Asking GitHub Copilot questions in GitHub Mobile
Use GitHub Copilot agents
Copilot coding agent
Code review
AI models for Copilot
Configuring access to AI models in Copilot
Changing the AI model for Copilot Chat
Changing the AI model for Copilot code completion
Creating a custom model for GitHub Copilot
Provide context to GitHub Copilot
Copilot Spaces
Using Model Context Protocol
Creating and managing Copilot knowledge bases
Using knowledge bases
Install GitHub Copilot Extensions
Configure custom instructions for GitHub Copilot
Adding personal custom instructions for GitHub Copilot
Adding repository custom instructions for GitHub Copilot
Adding organization custom instructions for GitHub Copilot
Configure and audit content exclusion
Excluding content from GitHub Copilot
Reviewing changes to content exclusions for GitHub Copilot
Use Copilot for common tasks
Using GitHub Copilot to create issues
Creating a pull request summary with GitHub Copilot
Using GitHub Copilot in the command line
Manage and monitor spending for Copilot
Monitoring your Copilot usage and entitlements
Managing the premium request allowance for users in your enterprise
Managing your company's spending on GitHub Copilot
Configure personal settings
Configuring network settings for GitHub Copilot
Configuring GitHub Copilot in your environment
Customizing GitHub Copilot in the CLI
Using GitHub Copilot with an account on GHE.com
Manage your GitHub Copilot account
Getting started with a Copilot plan
Getting free access to Copilot Pro as a student, teacher, or maintainer
Viewing and changing your Copilot plan
Disabling GitHub Copilot Free
Managing Copilot policies as an individual subscriber
Administer GitHub Copilot for your team
Managing GitHub Copilot in your organization
Managing GitHub Copilot in your enterprise
Downloading a Copilot activity report for your organization or enterprise
Troubleshoot GitHub Copilot
Troubleshooting common issues with GitHub Copilot
Viewing logs for GitHub Copilot in your environment
Troubleshooting firewall settings for GitHub Copilot
Troubleshooting network errors for GitHub Copilot
Copilot Extensions
Setting up Copilot Extensions
Creating a Copilot Extension
Building a Copilot agent for your Copilot Extension
Building a Copilot skillset for your Copilot Extension
Setting up OIDC for your GitHub Copilot extension
Debugging your GitHub Copilot Extension
Managing the availability of your Copilot Extension