$ git config --list --global
fatal: unable to read config file '%USERPROFILES%/.gitconfig': No such file or directory
.gitconfig is already present in the %USERPROFILES%
But it keeps giving me the above message.
$ git config --list --global
fatal: unable to read config file '%USERPROFILES%/.gitconfig': No such file or directory
.gitconfig is already present in the %USERPROFILES%
But it keeps giving me the above message.
%USERPROFILES% does not exist.
%USERPROFILE% does.
Try and re-install Git for Windows, possibly through the portable version (an archive you can uncompress anywhere you want, and which is not a malware), and a simplified PATH. Then check in that session (the one with said simplified path) if the issue persists.