read git SHA1 value of a repository's HEAD revision
github.com/aadityabhatia/gitsha
aadityabhatia/gitsha