重新命名分支

重新命名已簽出的分支:

git branch -m new_branch_name

重新命名另一個分支:

git branch -m branch_you_want_to_rename new_branch_name