Fix exception on import in MacOS by terminalmage · Pull Request #763 · gitpython-developers/GitPython
This is related to my fix in gitpython-developers#658. Apparently, MacOS adds a git executable that is just a stub which displays an error. This gets past the try/except I added in gitpython-developers#658, and allows all of the GitPython components to be imported, but since the executable is not *actually* git, it results in an exception when ``refresh()`` attemepts to run a ``git version``.