terminal create new github branch code example
Example 1: create and go to branch
git checkout -b <branch_name>
Example 2: how to add a branch to a a git repo cli
# Create new local branch
git checkout -b <new-branch>
git checkout -b <branch_name>
# Create new local branch
git checkout -b <new-branch>