Git Git Remote Rename a Remote Repository


Example

Rename the remote named <old> to <new>. All remote-tracking branches and configuration settings for the remote are updated.

To rename a remote branch name dev to dev1 :

git remote rename dev dev1