how to switch one branch to another branch in git code example
Example 1: how to switch another branch in git
git checkout 'another_branch'
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: git switch branch to another branch
git checkout <name>