Add Git Hook pre-commit for checking PHP errors.