In the first part of this chapter, we will learn how to enhance our Git configuration to better fit our needs and speed up the daily work; now it's time to become familiar with the configuration internals.
The configuration options are stored in plain text files. The
git config command is just a convenient tool to edit these files without the hassle of remembering where they are stored and opening them in a text editor.
There are different configuration files for every different configuration level.
You can basically set every parameter at every level according to your needs. If you set the same parameters at different levels, the lowest-level parameter hides the top level parameters; so, for example, if you set
user.name at global level, it will hide the one eventually set up at system level; if you set it at repository level, it will hide the...