# Changing the remote URL for a repository in GitHub Desktop

You can change the remote URL for a repository you're working with in GitHub Desktop. You might do this if the repository has been renamed, or the username or organization that owns the repository has changed.

<div class="ghd-tool mac">

1. In the "GitHub Desktop" menu bar, select **Repository** and click **Repository Settings...**.

   ![Screenshot of the menu bar on a Mac. In the open "Repository" dropdown menu, a cursor hovers over "Repository Settings", highlighted in blue.](/assets/images/help/desktop/repository-settings-mac.png)
2. On the **Remote** pane, under "Primary remote repository", type the desired URL.
3. Click **Save**.

</div>

<div class="ghd-tool windows">

1. In the **Repository** menu, click **Repository settings...**.

   ![Screenshot of the "GitHub Desktop" menu bar on Windows. In the open "Repository" dropdown menu, "Repository Settings" is outlined in orange.](/assets/images/help/desktop/repository-settings-win.png)
2. On the **Remote** pane, under "Primary remote repository", type the desired URL.
3. Click **Save**.

</div>