a few minor tweaks

Hi Gustavo,

I took a read through the code and added a few comments along the way.

There are still some things I don't understand, mostly the GitHub stuff in `hackedRefs` and what the `git-upload-pack` SubPath is about.

Nathan.
That's not actually what it is (see the implementation). Should also start with the standard form:

// Contains returns whether ...