put commit hook under version control