- Create a blank branch (no-switching)
git branch <branch-name>
- Create a blank branch and switch to it
git checkout -b <branch-name>
- Create a branch from other branch
git checkout -b <branch-name> <branch-name-from>
git branch <branch-name>
git checkout -b <branch-name>
git checkout -b <branch-name> <branch-name-from>