issue with PATH

hello

On Debian Lenny, I first ran apt-get install git-core and then removed it to install from source. The trouble is that when I typed git --version, I am get:
-bash: /usr/bin/git: No such file or directory
of course, git is now in /usr/local/bin

I don't understand why since /usr/local/bin is in my PATH

echo $PATH
/usr/local/pgsql/bin:/usr/local/Trolltech/Qt-4.5.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin

any idea?

Thanks!

---------- Post updated at 10:34 AM ---------- Previous update was at 10:15 AM ----------

I restarted my ssh session and all is good

Might be a dead link?

file /usr/local/bin/git
What is it? Does this command fail?

ls -la /usr/local/bin/git
(Is it a link? Does the other end of the link exist?)

ls -laL /usr/local/bin/git
(Is the link count zero)