Use dict2items with subelements

I’m new to Ansible and am having trouble figuring out how to properly do this…

I’ve got a list of users and under them is a list of git config settings that I want Ansible to setup for me. As an example, I’ve got something like this:

`