git branch to change to master code example
Example 1: make a new branch git
git checkout -b branch-name
Example 2: how to switch branches in git
git checkout [branch name]
git checkout -b branch-name
git checkout [branch name]