models: update to use GitPython