Change the name to a remote for your repository.
$ git remote rename <old_name> <new_name>
Check the list of your remotes to make sure you successfully renamed the remote.
$ git remote
origin
<new_name>
Change the name to a remote for your repository.
$ git remote rename <old_name> <new_name>
Check the list of your remotes to make sure you successfully renamed the remote.
$ git remote
origin
<new_name>