improvement: teach mypy that Object.type is not always supposed to be None
improvement: teach mypy that Object.type is not always supposed to be None

gitpython-developers/GitPython,gitpython-developers/gitpython,gitpython-developers/GitPython,gitpython-developers/gitpython