title: npm install shows error with git not found
body: <p>I have recently added some dependencies to the package JSON and tried installing npm, but it shows errors related to git not found:</p>
  <blockquote>
  <p>npm ERR! path git<br />
  npm ERR! code ENOENT<br />
  npm ERR! errno ENOENT<br />
  npm ERR! syscall spawn git<br />
  npm ERR! enoent Error while executing:<br />
  npm ERR! enoent undefined ls-remote -h -t
  ssh://git@github.com/eligrey/FileSaver.js.git<br />
  npm ERR! enoent<br />
  npm ERR! enoent<br />
  npm ERR! enoent spawn git ENOENT<br />
  npm ERR! enoent This is related to npm not being able to find a file.
  npm ERR! enoent<br />
  npm ERR! A complete log of this run can be found in:</p>
  </blockquote>
  <p><img src="https://i.stack.imgur.com/KHSs4.png" alt="Image" /></p>