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
How do I edit my global Git configuration?
Short answer: git config --edit --global
To understand Git configuration, you should know that:
Git configuration variables can be stored at three different levels. Each level overrides values at the previous level.
1. System level (applied to every user on the system and all their repositories)
git config --list --system (may need sudo)git config --system color.ui truegit config --edit --system2. Global level (values specific personally to you, the user).
git config --list --globalgit config --global user.name xyzgit config --edit --global3. Repository level (specific to that single repository)
git config --list --localgit config --local core.ignorecase true (--local optional)git config --edit --local (--local optional)How do I view all settings?
git config --list, showing system, global, and (if inside a repository) local configsgit config --list --show-origin, also shows the origin file of each config itemHow do I read one particular configuration?
git config user.name to get user.name, for example.--system, --global, --local to read that value at a particular level.Reference: 1.6 Getting Started - First-Time Git Setup