add precommit-hook