Rename Git branch December 10, 2021 Rename a Git branch by doing (foo) $ git branch -m foo bar (bar) $