Branches
Creating And Switching
To create a new branch
$ git branch _BRANCH_NAME_
To switch to an existing branch
$ git checkout _BRANCH_NAME_
To print out the history of your commits, showing where your branch pointers are and how your history has diverged
$ git log --oneline --decorate --graph --all
To create a new branch and switch to it at the same time
$ git checkout -b _BRANCH_NAME_
or
$ git branch _BRANCH_NAME_
$ git checkout _BRANCH_NAME_