how to switch branches in ubuntu terminal code example
Example 1: git switch branch to another branch
git checkout <name>
Example 2: git toggle between branches
Toggle between two git branches: git checkout -
git checkout <name>
Toggle between two git branches: git checkout -