-
In the Repository menu, click Repository settings....
-
On the Remote pane, under "Primary remote repository", type the desired URL.
-
Click Save.
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.