git rename branch

git rename branch

This operation is pretty simple, all you need to use is the branch commando with a -m flag to git rename branch:

git branch -m <oldbranchname> <newbranchname>

example:
git branch -m feature/humanreadable feature/translation

git rename branch

Or if you already checked out the branch you want to rename all you need to do is:

git branch -m <newbranchname>

example:
git branch -m feature/translation

Read more at the git branch documentation