Hilco Wijbenga [off-list ref] writes:
This is, of course, highly OS dependent. Ironically, I'd say we need a
setting in .gitconfig for it. :-)
There is also /etc(/default|/sysconfig|)/git/config to consider
(perhaps for some settings that should be the same for everyone).
Better yet, it would be nice if at least some settings could be part
of the repository itself (whitespace handling e.g.).
As long as we make sure we have knobs for distro packagers and people
building from the source to twist so that they can easily name the places
they want us to read from and write to, what we decide in-tree does not
matter. We default to ~/.gitconfig and /etc/gitconfig as before, and that
is perfectly fine. We already have ETC_GITCONFIG, so the only thing it
might be nicer to add is the build configurability of ~/.gitconfig file,
no?