only setup precommit hook for git, github allows non git downloads through tags and zips