Git uses the tool git config to determine and change non-default behaviour. git config sets configuration variables to control all aspects of how Git looks and operates. Three configuration files in different places store configuration variables on different levels. Git checks these files one after the other to find these variables.
- The first file git checks:
/etc/gitconfig
This contains settings that are applied to every user on the system + all their repositories
system-wide