Adding a repository from your local computer to GitHub Desktop

You can add any Git repository to GitHub Desktop, even if it's not a GitHub repository.

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.

Tip: You can add a Git repository from your local computer to GitHub Desktop by dragging the folder onto the GitHub Desktop window. If you drag multiple Git folders into GitHub Desktop at the same time, each folder will be added as a separate Git repository.

  1. In the File menu, click Add Local Repository.
    Add Local Repository menu option
  2. Click Choose... and, using the Finder window, navigate to the local repository you want to add.
    The Local Path field in the Mac app
  3. Click Add Repository.
    The Add repository button in the Mac app
  1. In the File menu, click Add local repository.
    Add Local Repository menu option
  2. Click Choose... and, using Windows Explorer, navigate to the local repository you want to add.
    The Local Path field in the Windows app
  3. Click Add repository.
    The Add repository button in the Windows app

Did this doc help you?

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.