Support for VCSH

Specifically, I set variables for GIT_DIR and the ATTRIBUTES file.
Then use those variables throughout script.
Updated comments and documentation a bit.
Hope it's all to your liking.