I have git installed, and both
C:\Program Files (x86)\Git\cmd;
C:\Program Files (x86)\Git\bin;
in the PATH variable, as said here, and still get errors that npm can’t find git while I can use it in powershell. This is with using the git for windows installer. I did use chocolatey in the past and with that it works immidiatly. I’m a guy who wants to know why the “official” method isn’t working for atom.
OK, Nevermind! Its a problem with Windows. After like 5 reboots it suddenly works.