"Post, Mark K" [off-list ref] writes:
Since umask isn't an environment variable, per se, I'm not sure how this
will change anything.
I do not configure my sshd, so you may need a bit more reading
on it yourself; $HOME/.ssh/environment does not seem to be it,
as you said.
One other thing I noticed is that init-db.c spells core.sharedRepository
with a capital R, but setup.c spells it "core.sharedrepository" with no
upper case letters. Would this make any difference to anything I'm
seeing?
The distinction should not matter since the code downcases
(git_config_set_multivar() in config.c) it, but to avoid future
confusion we might want to downcase the one in init-db.c