GitObject Base class for Git entities. to_dict to_dict() -> dict Convert the object to a dictionary. Returns: Type Description dict A dictionary representation of the Git object.