how to change create new branch in git code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: create a new branch based on another branch
//when on branch 'dev' make branch 'myFeature' off of 'dev'
git checkout -b myfeature dev
Example 3: commit unstaged changes to new branch
git checkout -b new_branch_name
Example 4: how to create new branch
How to create a new branch in git
$ git checkout -b good
here good is new branch name
the line 3 after executing we will go to that branch