# To create a new local branch... # ...based on the current revision: $ git checkout -b <branch-name> # ...based on a specific revision hash: $ git checkout -b <branch-name> <commit-hash>