git premenovať pobočku
git branch -m <oldname> <newname> # Any Branch
git branch -m <newname> # Current Branch
# For windows if you get "Branch already exists" error
git branch -M <newname>
upraviť názov pobočky git
$ git checkout Branch-Name-You-Want-to-Change
$ git branch -m New-Branch-Name
premenovať pobočku git
git branch -m <new_name> //currenct branch switch name
git branch -m <select_branch_name> <new_branch_name>
premenovanie vzdialenej vetvy v git
git push origin :<branch_to_rename>
git checkout -b <new_branch_name>
git push --set-upstream origin <new_branch_name>