def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def sm_section(name: str) -> str:
    """:return: section title used in .gitmodules configuration file"""
    return f'submodule "{name}"'