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
You can also call git config -e to open the configuration file in your editor directly. The Git configuration file is much more readable that the -l output, so I always tend to use the -e flag.
So to summarise:
git config -l # List Git configuration settings (same as --list)
git config -e # Opens Git configuration in the default editor (same as --edit)
.git/config.--global it interacts with ~/.gitconfig.--system it interacts with $(prefix)/etc/gitconfig.(I couldn't really find what $(prefix) means, but it seems to default to $HOME.)