Since `gitpython` does not have `__version_info__`, not required but often seen in python libs, here's what you could do:

```python
from distutils import version
if version.LooseVersion(git.__version__) < version.LooseVersion('0.3.0'):
    ... etc ...
```