title: git-upload-pack: command not found, when cloning remote Git repo
body: <p>I have been using git to keep two copies of my project in sync, one is my local box, the other the test server.
  This is an issue which occurs when I log onto our remote development server using ssh;</p>
  
  <pre><code>git clone me@me.mydevbox.com:/home/chris/myproject
  Initialized empty Git repository in /tmp/myproject/.git/
  Password:
  bash: git-upload-pack: command not found
  fatal: The remote end hung up unexpectedly
  fetch-pack from 'me@me.mydevbox.com:/home/chris/myproject' failed.
  </code></pre>
  
  <p>(the file-names have been changed to protect the guilty... !) </p>
  
  <p>Both boxes run Solaris 10 AMD. I have done some digging,  if I add <code>--upload-pack=$(which git-upload-pack)</code> the command works, (and proves that <code>$PATH</code> contains the path to 'git-upload-pack' as per the RTFM solution)  but this is really annoying, plus 'git push' doesn't work, because I don't think there is a <code>--unpack=</code> option.  </p>
  
  <p>Incidentally, all the git commands work fine from my local box, it is the same version of the software (1.5.4.2), installed on the same NFS mount at <code>/usr/local/bin</code>.  </p>
  
  <p>Can anybody help?</p>