how to switch master in git code example
Example 1: how to switch to a master which is already added
git checkout master
Example 2: sitch a branch command line
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>
git checkout master
$ git switch <existing_branch>
$ git switch -c <non_existing_branch>