create a new branch from master branch code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create new branch git from master
git checkout -b new-branch-name
$ git checkout -b [name_of_your_new_branch]
git checkout -b new-branch-name