git hook for precommits