how to switch branhes in git code example
Example 1: sitch a branch command line
$ git checkout <existing_branch>
$ git checkout -b <new_branch>
Example 2: git toggle between branches
Toggle between two git branches: git checkout -
$ git checkout <existing_branch>
$ git checkout -b <new_branch>
Toggle between two git branches: git checkout -