I'd like to show all configured git sections.
I only found git config --get core.editor and I'd like to output everything that's configured globally, not only the configured default editor.
To see the global git configuration you can use
git config --list
Or else you can see at ~/.gitconfig file
And local configuration will be in your repository’s .git/config file.