Locate the path to the system configuration file
If /etc/gitconfig doesn't exist, it will look for %PROGRAMFILES%\Git\etc\gitconfig .
/etc/gitconfig
%PROGRAMFILES%\Git\etc\gitconfig
Pointer to a user-allocated git_buf in which to store the path
0 if a system configuration file has been found. Its path will be stored in out.
out