I have an older version of Git installed at:
I recently downloaded a newer version to:
When I type:
I get the location of the old version. I believe that this is just because /usr/bin/ appears before /usr/local/bin in my $PATH variable and so the older version of git is 'found' first.
To test this, I renamed the older version of git to "git_old". Now when I type:
I get the location of the newer version, as expected. But when I type:
I get the following error:
-bash: /usr/bin/git: No such file or directory
I'm just wondering why my computer is going back to looking in the old location for Git?