Currently only the local $GIT_DIR/config file can be read or written. However support for the global ~/.gitconfig and system $(prefix)/etc/gitconfig will be added in the future.
The current parser does not support the more exotic features of the git-config file format such as [include] and [includeIf].
Read an entry from the git config files.
Caveats:
$GIT_DIR/configfile can be read or written. However support for the global~/.gitconfigand system$(prefix)/etc/gitconfigwill be added in the future.[include]and[includeIf].Returns
Resolves with the config value.
Example