git hub switch branch to master code example Example: make a new branch git git checkout -b branch-name