use the git implementation of SHA-1