git create new repo with master branch code example
Example 1: how to add a branch to a a git repo cli
# Create new local branch
git checkout -b <new-branch>
Example 2: create new branch git from master
git checkout -b new-branch-name
# Create new local branch
git checkout -b <new-branch>
git checkout -b new-branch-name