title: Heroku + git = ENOENT: spawn git ENOENT
body: <p>I'm new to Ubuntu 17.04.
  So I'm having some trouble with git and Heroku.</p>
  
  <p>When I run <code>$ heroku create</code> or trying to clone an exciting repository/app created on Windows <code>heroku git:clone -a appname</code> I get the error. <code>ENOENT: spawn git ENOENT</code>. </p>
  
  <p>I've done some searching it seems to be that either git isn't installed or the PATH is wrong or not set properly. But I have installed git <code>$ sudo apt-get install git</code>     </p>
  
  <p><code>$ git --version
  git version 2.11.0</code></p>
  
  <p><code>$ git --exec-path
  /usr/lib/git-core</code></p>
  
  <p>And I installed Heroku-CLI using snap as their documentation states. <code>$ sudo snap install heroku</code></p>
  
  <p><code>$ which heroku
  /snap/bin/heroku</code></p>
  
  <p><code>$ heroku --version
  heroku-cli/6.12.0 (linux-x64) node-v7.10.0</code></p>
  
  <p>Can anyone help me out? Thanks.</p>