Locate the path to the configuration file in ProgramData
Look for the file in %PROGRAMDATA%\Git\config used by portable git.
%PROGRAMDATA%\Git\config
Pointer to a user-allocated git_buf in which to store the path
0 if a ProgramData configuration file has been found. Its path will be stored in out.
out