How to use the "git config" command to configure partitions with a name?

How can I use the git config command to implement this configuration:

[diff "odf"]
  textconv=odt2txt
+3
source share
1 answer

Like this:

git config diff.odf.textconv odt2txt

This will lead to:

[diff "odf"]
        textconv = odt2txt
+4
source