Install pre-commit hook.