Rename a branch git branch -m <old-name> <new-name> Change base branch git rebase --onto <target> <current-base> <your-branch>