Updated git pre-commit hook