If you still have the tar file, and if it has been created using
git-archive or git-tar-tree it may contain the commit ID in an archive
comment. You can use git-get-tar-commit-id to extract it in that case.
This won't work with official git project tarballs btw., as commit ID
embedding has been turned off. The reason is that older tar versions
extracted the comment as a regular file, which confused users.
Ren