+Branches
+========
+
+* What branch am I on? What other branches are there?
+
+ $ git branch
+
+* Make a new branch (e.g. `some-feature`):
+
+ $ git branch some-feature
+
+* Change the current branch (e.g. to `some-feature`) and update the
+ staging area and working directory:
+
+ $ git checkout some-feature
+
+Remotes
+=======
+
+* List configured remotes (URL nicknames):
+
+ $ git remote
+
+* List configured remotes with push/pull URLs:
+
+ $ git remote -v
+
+* Add a new remote:
+
+ $ git remote add $NAME $URL
+
+Manipulating history
+====================
+
+* Squash new changes onto the most recent commit:
+
+ $ git commit --amend …
+
+* Move the current branch to `$COMMIT` without touching the staging
+ area or working directory:
+
+ $ git reset $COMMIT
+
+* Move the current branch to `$COMMIT` while also resetting the
+ staging area and working directory:
+
+ $ git reset --hard $COMMIT
+