how to update branch name in git remotely 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