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