git switch brancj code example
Example 1: git change branch
git checkout <<branchName>>
Example 2: sitch a branch command line
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>
git checkout <<branchName>>
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>