Which programs do use the section in .gitconfig?
This question already has an answer here:
One Solution collect form web for “Which programs do use the section in .gitconfig?”
The normal git client doesn’t use them. But your own shell scripts or
git hooks could, for example
GitHub cannot read those values. If some random company on the other
side of the world could just willy-nilly read any arbitrary files on
your computer, that would be truly scary.
But of course any program you run on your computer can read those
values. Including, for example, the hub command or the github command,
which are two popular commandline clients for GitHub.
Source: How does [github] section of .gitconfig work?