# 1. rename local branch git branch -m new_branch # 2. delete old branch from remote git push origin :old_branch # 3. push & create new branch to upstream git push --set-upstream origin new_branch