Avoid relying on ~/.gitconfig existing.