I set per-commit global git hook. But when i commit file no triggers happens. Is there a way to solve this problem?