reads git SHA1 value for given repo's HEAD