how to change working branch code example
Example 1: git change branch
git checkout <<branchName>>
Example 2: how to make new branch and switch in git
git checkout -b myNewBranch
git checkout <<branchName>>
git checkout -b myNewBranch