changed how git hooks are used