# Getting started with the GitHub Copilot app

> Sign in to the GitHub Copilot app, connect a repository or local folder, and create your first agent session to make code changes.

- 网址：https://funcoding.ai/agents/github-copilot/get-started/quickstart-copilot-app/
- 来源：GitHub Copilot 官方文档原文（英文），CC-BY-4.0 许可，同步于 2026-11-18
- 官方原文：https://docs.github.com/en/copilot/get-started/quickstart-copilot-app

---
For a conceptual overview of the GitHub Copilot app, see [AUTOTITLE](https://funcoding.ai/agents/github-copilot/concepts/copilot-surfaces/github-copilot-app/).

In this quickstart, you will:

1. Install and sign in to the GitHub Copilot app.
1. Connect a repository or local folder.
1. Make code changes in an agent session.

## Prerequisites

* A GitHub account.
* A Copilot plan, or you can configure your own model provider.
  * If you use your own model provider, you will need provider credentials such as an API key. For setup steps, see [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/add-llm-models/).
* [Git](https://github.com/git-guides/install-git?utm_source=get-started-app-doc-install-git-guide&utm_medium=docs&utm_campaign=universe-2026) installed on your computer.

<div class="callout callout-note">

For Copilot Business and Copilot Enterprise users, the GitHub Copilot app policy must remain enabled. This policy is enabled by default and is separate from the Copilot CLI policy. See [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/administer-copilot/manage-for-organization/manage-policies/) or [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies/).

</div>

## Installing the GitHub Copilot app

Download and install the GitHub Copilot app for your operating system. For other operating systems and architectures, see the [download page](https://github.com/features/ai/github-app?utm_source=get-started-app-doc-app-features&utm_medium=docs&utm_campaign=universe-2026).

<a href="https://github.com/features/ai/github-app?utm_source=app-download-docs&utm_medium=docs&utm_campaign=universe-2026" target="_blank" class="btn btn-primary mt-3 mr-3 no-underline js-os-download" data-os-download-mac="https://gh.io/copilot-app-mac" data-os-download-mac-intel="https://gh.io/copilot-app-mac-intel" data-os-download-windows="https://gh.io/copilot-app-win64" data-os-download-windows-arm="https://gh.io/copilot-app-win-arm" data-os-download-linux="https://gh.io/copilot-app-linux" data-os-download-linux-arm="https://github.com/github/app/releases/latest/download/GitHub-Copilot-linux-arm64.AppImage"> <span class="js-os-download-label">Download the GitHub Copilot app</span></a>

## Opening the GitHub Copilot app for the first time

1. Open the GitHub Copilot app.
1. Click **Sign in to GitHub** and follow the prompts to authenticate.

   * If you use GitHub Enterprise Cloud with data residency, choose **GitHub Enterprise Cloud** and enter your `*.ghe.com` hostname when prompted.
   * If you work on GitHub Enterprise Server, sign in with a cloud account first. You can add your GitHub Enterprise Server account later to access repositories, pull requests, and issues for that account.

1. 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**.

1. 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 repositories later.
1. Choose a theme, then complete onboarding to open the app.

## Connecting a repository or folder

To work on code, you need at least one repository or local folder connected to the app. You can connect 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 repository or folder unlocks the core app workflow: reading code, making edits, and opening pull requests from agent sessions. If you skipped repository setup during onboarding, or want to add more repositories or folders later:

1. In the sidebar, next to **Sessions**, click New.
1. Choose where to add the repository or folder from:
  * **Open local folder** — Select a folder already on your machine, including one that contains a repository you've already cloned locally.
  * **Add GitHub repository** — Browse and clone a repository from GitHub.
  * **Clone repository** — Clone from a Git URL for repositories hosted outside GitHub or for private repositories without app access.

To browse and add Azure DevOps repositories, enable the Azure DevOps integration in the app settings and connect your Microsoft account. See [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/manage-azure-devops-work/).

To add repositories hosted on GitHub Enterprise Server, sign in to your account. See [AUTOTITLE](https://docs.github.com/enterprise-server@latest/copilot/copilot-on-ghes/sign-in-on-copilot-app).

## Making your first code changes

1. In the sidebar, next to **Sessions**, click New, then select the connected repository or folder under "Start session in."
1. Select a session mode from the dropdown below the prompt field—for example, **Interactive** to work collaboratively with the agent.
1. In the prompt box, paste this prompt:

   ```copilot copy
   Suggest a small low-risk code change in this repository, implement it, and explain the diff.
   ```

1. Respond to any requests for input from the agent. After the agent makes changes, click **Changes** above the prompt box to view the diff.
1. Continue iterating in the same session until you are happy with the result.
1. If you want to keep the change, click **Create PR** to open a pull request for review.
1. 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, click **Issues** in the sidebar to find an issue and start a session from it. For more information, see [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/managing-issues-and-pull-requests/).

## Orienting yourself

The sidebar gives you access to the main areas of the app:

* **New** — Start a new agent session.
* **Pull requests** — Browse pull requests, check CI status, and leave reviews.
* **Issues** — Browse issues and start agent sessions to work on them.
* **[Automations](https://github.com/copilot/app/launch?open=ghapp%3A%2F%2Fautomations&utm_source=get-started-app-doc-app-launch-my-automations-cta&utm_medium=docs&utm_campaign=universe-2026)** — Saved agent tasks that run on a schedule or on demand.
* **Customize** — Discover and manage plugins, skills, MCP servers, and canvases.
* **Search** — Search across your repositories directly from the app.
* **Projects** — Organize ongoing work with Copilot. Within a project, you can start multiple sessions across repositories, track progress, share context, review artifacts, and set up recurring tasks. See [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/working-with-projects/).
* **Sessions** — View connected repositories, local folders, and their active agent sessions, or start a new session for a repository or folder.
* **Chats** — General conversations that do not require a dedicated branch or workspace.

## Next steps

Find out more about using the GitHub Copilot app:

* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/agent-sessions/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/working-with-canvas-extensions/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/managing-issues-and-pull-requests/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/how-tos/github-copilot-app/using-automations/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/reference/github-copilot-app-reference/slash-commands/)
* [AUTOTITLE](https://funcoding.ai/agents/github-copilot/reference/github-copilot-app-reference/built-in-skills/)
