@unbare_repo
    def config_writer(self, index=None, write=True):
        writer = self._config_parser_constrained(read_only=False)
        if index is not None:
            writer.config._index = index
        writer.config._auto_write = write
        return writer
:return: a config writer instance allowing you to read and write the data
dataset/ETHPy150Open gitpython-developers/GitPython/git/objects/submodule/base.py/Submodule.config_writer