how to change local branches code example
Example 1: sitch a branch command line
$ git checkout
$ git checkout -b
Example 2: how to switch branches in git
git checkout [branch name]
$ git checkout
$ git checkout -b
git checkout [branch name]