git command to change branch in git base code example
Example 1: how to switch branches in git
git checkout [branch name]
Example 2: canging branch in git
$ git checkout feature
git checkout [branch name]
$ git checkout feature