renaming remote branches in git code example
Example: edit branch name git
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name