From how I read this, I understand that you have changed the name of your repository (which changed the URL for it), and now you want to update the URL so that it matches the new location of the repository.
You can use git remote set-url <remote-name> <new-url>
to switch the URL of an existing remote repo.
user849425
source share