Where do the settings in my Git configuration come from?
Git checks four places for a configuration file: Your machine’s system .gitconfig file. Your user .gitconfig file located at ~/.gitconfig. A second user-specific configuration file located at $XDG_CONFIG_HOME/git/config or $HOME/.config/git/config. The local repository’s configuration file .git/config. The settings cascade in the following order, with each file adding or overriding settings defined in the file above … Read more