Add precommit hook for puppet git repo.