terminal change github branch code example
Example 1: git change branch
git checkout <<branchName>>
Example 2: how to switch branches git
git checkout <existing branch>
git checkout <<branchName>>
git checkout <existing branch>