git checkout <old_name> // checkout to branch you want to rename git branch -m <new_name>// command to rename branch