Rename the remote named <old> to <new>. All remote-tracking branches and configuration settings for the remote are updated.
<old>
<new>
To rename a remote branch name dev to dev1 :
dev
dev1
git remote rename dev dev1