git
Git has several places where it keeps config values:
.../etc/config
keeps system-level configuration values. This is normally handled by the super-user and not by a regular user.~/.gitconfig
or~/.config/git/config
keeps current user configuration values..../.git/config
keeps project-specific configuration values. This contains other useful details such as the origin of the configured repository.
See https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup.