[global]
key1=value1
key2=value21
[command_1] # such as pull
key3=value31,value32
key4
key5=value51
[command_2] # such as share
key3=value33
key2=value22
key6=value61,value62,value63
...
where the global keys apply until the same keys (options) are overridden by more specific values in [command_n] sections.
Then it's much easier to perform some repetitive commands.