How to find out which Git config file is used and how to override settings?
I have two related questions: How can I determine precisely which config file is being used by my Git bash client? Can I override settings in the config file being used? I know that there is a system, global and local (aka project) .gitconfig file. And, according to the Git site , each of these "levels" (system, global, local) overwrites values in the previous level, so values in the ./git/config (local) trump those in /etc/gitconfig , for instance. In other words we are dealing with a hierarchy and any declaration in the local config file will take precedence over one in the global or system