Added git hooks for pre-commit check