Diff before git commit check was inverted.