create branch in git from master code example
Example 1: git command to create a branch
//Create a New Branch
git checkout -b [name_of_your_new_branch]
//First Push
git push --set-upstream origin [name_of_your_new_branch]
Example 2: create new branch git from master
git checkout -b new-branch-name
Example 3: create branch from existing branch
$ git checkout -b myFeature dev
Example 4: how to create a branch in git
$ git branch [name of branch]