<commit_hash>
The -b flag to create the branch and switch it to it immediately.
-b
git branch -b <branch_name> <commit_hash>
See the ^ after the <commit_hash>.
^
git branch -b <branch_name> <commit_hash>^