Convention to put them on separate lines in alphabetical order.
HEAD
can be used instead of <hash>
to specify the most recent commit.
git branch
: list of git branches
git checkout <hash>
: pull up snapshot of repository at certain commit
git checkout -b
: create a new branch