Rename the current branch.

Execute git branch -m <new_name>.

Source