Git: add head_sha (rev-parse HEAD)

Get the current commit hash
Merge pull request #26 from janfabry/git/head_sha

Git: add head_sha (rev-parse HEAD)