configuration files to determine non-default behavior:
level | file | command | |
---|---|---|---|
system-wide | [path]/etc/gitconfig file | settings to every user and all repositories | $ git config --system |
global | ~/.gitconfig | specific to each user | $ git config --global |
local | .git/config | in the Git directory/specific to a repository | $ git config --local |