@property
    def parent_commit(self):
        if self._parent_commit is None:
            return self.repo.commit()
        return self._parent_commit
:return: Commit instance with the tree containing the .gitmodules file
dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/submodule/base.py/Submodule.parent_commit