--- title: Adding an existing project to GitHub using GitHub Desktop intro: 'You can add an existing Git repository to {% data variables.product.prodname_dotcom %} using {% data variables.product.prodname_desktop %}.' redirect_from: - /desktop/contributing-to-projects/adding-an-existing-project-to-github-using-github-desktop - /desktop/contributing-and-collaborating-using-github-desktop/adding-an-existing-project-to-github-using-github-desktop versions: fpt: '*' shortTitle: Add an existing project --- {% mac %} {% data reusables.git.remove-git-remote %} 2. [Add the repository to GitHub Desktop](/desktop/guides/contributing-to-projects/adding-a-repository-from-your-local-computer-to-github-desktop/). {% data reusables.desktop.publish-repository %} 4. Type the desired name of the repository in the **Name** field or use the default current local repository name. ![The Name field](/assets/images/help/desktop/publish-repository-name-mac.png) 5. To publish a public repository, unselect **Keep this code private**. ![Keep this code private checkbox](/assets/images/help/desktop/publish-repository-private-checkbox-mac.png) 6. Choose the organization in the **Organization** drop-down where you want to publish the repository, or select **None** to publish the repository to your personal account. ![Organization drop-down](/assets/images/help/desktop/publish-repository-org-dropdown-mac.png) 7. Click the **Publish Repository** button. ![The Publish repository button in the Publish Repository dialog](/assets/images/help/desktop/publish-repository-dialog-button-mac.png) {% endmac %} {% windows %} {% data reusables.git.remove-git-remote %} 2. [Add the repository to GitHub Desktop](/desktop/guides/contributing-to-projects/adding-a-repository-from-your-local-computer-to-github-desktop/). {% data reusables.desktop.publish-repository %} 4. Type the desired name of the repository in the **Name** field or use the default current local repository name. ![The Name field](/assets/images/help/desktop/publish-repository-name-win.png) 5. To publish a public repository, unselect **Keep this code private**. ![Keep this code private checkbox](/assets/images/help/desktop/publish-repository-private-checkbox-win.png) 6. Choose the organization in the **Organization** drop-down where you want to publish the repository, or select **None** to publish the repository to your personal account. ![Organization drop-down](/assets/images/help/desktop/publish-repository-org-dropdown-win.png) 7. Click the **Publish repository** button. ![The Publish repository button in the Publish repository dialog](/assets/images/help/desktop/publish-repository-dialog-button-win.png) {% endwindows %}