how to switch to a branch in git command code example
Example 1: how to switch another branch in git
git checkout 'another_branch'
Example 2: how to switch branches in git
git checkout [branch name]
git checkout 'another_branch'
git checkout [branch name]