Add check for git user in pre-commit hook.