--- title: Changing the remote URL for a repository in GitHub Desktop intro: 'You can change the remote URL for a repository you''re working with in {% data variables.product.prodname_desktop %}. You might do this if the repository has been renamed, or the username or organization that owns the repository has changed.' redirect_from: - /desktop/contributing-to-projects/changing-a-remotes-url-from-github-desktop - /desktop/contributing-to-projects/changing-a-remote-s-url-from-github-desktop - /desktop/contributing-and-collaborating-using-github-desktop/changing-a-remotes-url-from-github-desktop - /desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/changing-a-remotes-url-from-github-desktop - /desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/changing-the-remote-url-for-a-repository-from-github-desktop - /desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/changing-the-remote-url-for-a-repository-in-github-desktop versions: fpt: '*' ghec: '*' ghes: '*' shortTitle: Change the remote URL for a repository --- {% mac %} {% data reusables.desktop.mac-repository-settings-menu %} 1. On the **Remote** pane, under "Primary remote repository", type the desired URL. {% data reusables.desktop.repository-settings-save %} {% endmac %} {% windows %} {% data reusables.desktop.windows-repository-settings-menu %} 1. On the **Remote** pane, under "Primary remote repository", type the desired URL. {% data reusables.desktop.repository-settings-save %} {% endwindows %}