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.
Please drop this one. This is more stuff to read for no benefit.