Create an sha1 hash sum from a directory of files using the git algorithm