For a conceptual overview of the GitHub Copilot app, see About the GitHub Copilot app.
In this quickstart, you will:
- Install and sign in to the GitHub Copilot app.
- Connect a repository or local folder.
- Make code changes in an agent session.
Prerequisites
- A GitHub account.
- Access to Copilot or a configured model provider.
- If you use your own model provider, you will need provider credentials such as an API key. For setup steps, see Using your own LLM models in the GitHub Copilot app.
- Git installed on your computer.
Note
If you use Copilot Business or Copilot Enterprise, your plan administrator will need to enable the Copilot CLI policy. For more information, see Managing policies and features for GitHub Copilot in your organization or Managing policies and features for GitHub Copilot in your enterprise.
Installing the GitHub Copilot app
- Visit the download page for GitHub Copilot app.
- Download the app for your platform.
Opening the GitHub Copilot app for the first time
- Open the GitHub Copilot app.
- Click Sign in to GitHub and follow the prompts to authenticate. If you use GitHub Enterprise Server, choose Use GitHub Enterprise and enter your server address when prompted.
- If you do not have a Copilot plan, choose whether to sign up for a plan or continue with your own model provider.
- If you choose to use your own model provider, select a provider, enter any required credentials, then click Save and continue.
- When prompted, select one or more repositories based on your recent GitHub activity. You can also add a local folder or repository, or skip this step and add projects later.
- Choose a theme, then complete onboarding to open the app.
Connecting a repository or folder
To work on code, you need at least one project connected to the app. A project can be a folder already on your machine, including a repository you've already cloned locally, or a repository you clone from GitHub or another remote Git host such as Azure DevOps. Connecting a project unlocks the core app workflow: reading code, making edits, and opening pull requests from agent sessions. If you skipped project setup during onboarding, or want to add more projects later:
- Click the + button in the sidebar next to "Sessions".
- Under Add project from, choose one of the following:
- Local folder or repository — Select a folder already on your machine, including one that contains a repository you've already cloned locally.
- GitHub repository — Browse and clone a repository from GitHub.
- Repository URL — Clone from a Git URL for repositories hosted outside GitHub (for example, on Azure DevOps) or for private repositories without app access.
Making your first code changes
-
Click + next to Sessions, then choose a connected folder or repository under Start session in.
-
Select a session mode from the dropdown below the prompt field—for example, Interactive to work collaboratively with the agent.
-
In the prompt box, paste this prompt:
Copilot prompt Suggest a small low-risk code change in this repository, implement it, and explain the diff.
Suggest a small low-risk code change in this repository, implement it, and explain the diff. -
Respond to any requests for input from the agent. After the agent makes changes, click Changes above the prompt box to view the diff.
-
Continue iterating in the same session until you are happy with the result.
-
If you want to keep the change, click Create PR to open a pull request for review.
-
If you create a pull request, click PR above the prompt box to view it directly in the app.
Optional: If you already have tasks you want to complete in your repository, you can start a session from an issue in My work. For more information, see Managing issues and pull requests with the GitHub Copilot app.
Orienting yourself
The sidebar gives you access to the main areas of the app:
- My work — Browse and filter issues and pull requests from your repositories, check CI status, and leave reviews.
- Automations — Saved agent tasks that run on a schedule or on demand.
- Search — Search across your repositories directly from the app.
- Sessions — Active agent sessions, grouped by project. This also includes Quick chats, which are general chat conversations.
Next steps
Find out more about using the GitHub Copilot app: