I was following through the git documentation and installed Git using source code package. Now, after installing Git, I want to update it (Though it might be unnecessary at this time, I simply want to try and make sure it works). I ran the command
git clone git://git.kernel.org/pub/scm/git/git.git and it returned error
-bash: /usr/bin/git: No such file or directory. Reason might be obvious, since for installing git, I used the command
make prefix=/usr/local install which installed Git in
Now, how to fix this?
I tried the same git clone command with
--git-dir=/usr/local/bin/git which returned the same error
-bash: /usr/bin/git: No such file or directory