git create-branch

Create a Git branch in a repository. Part of git-extras. More information: https://manned.org/git-create-branch.

git create-branch {{branch_name}}

git create-branch {{[-r|--remote]}} {{branch_name}}

git create-branch {{[-r|--remote]}} upstream {{branch_name}}