Adding pre-commit hook to common repo