make branch master code example
Example 1: create new branch git from master
git checkout -b new-branch-name
Example 2: creating a branch in git
git checkout -b <branch_name>
Example 3: branch creation
git branch -m branch bug
git fetch origin
git branch -u origin/bug bug
git remote set-head origin -a