git how to create branch from master code example
Example 1: create new branch git
$ git checkout -b [name_of_your_new_branch]
Example 2: create branch in git
# Create New Branch And Switch To It
$ git checkout -b myBranchName
$ git checkout -b [name_of_your_new_branch]
# Create New Branch And Switch To It
$ git checkout -b myBranchName