| How to rename and remove branch in remote Git?
In git to rename a branch in remote below command is used
$ git remote rename oldname newname
$ git remote
origin
newname
And now to remove the branch below command is used
$ git remote remove newname
$ git remote
origin | | |