Adding pre-commit for git