Added a couple of functions to interface with Git a bit. Specifically,
getting the filename holding the HEAD reference as well as the hash of
the HEAD reference itself. May want to include getting branches, or
generalize the functions a bit in the future.