Well, as @dshepherd mentioned, you are missing /usr/local/bin in PATH. git is working probably only because there is symlink in /bin. Try export PATH=$PATH:/usr/local/bin in emacs terminal. You can also check this out: stackoverflow.com/questions/8606954/…
– SconyJun 2 '15 at 7:41