How do I show my global Git configuration?

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.


You can use:

git config --list

or look at your ~/.gitconfig file. The local configuration will be in your repository’s .git/config file.


git config --list --show-origin

to see where that setting is defined (global, user, repo, etc…)

Leave a Comment