different versions of git use slightly different strings