check commit hook