I installed the command line interface from GitHub's site. I created a new folder to pull files down to and tried to initialize my folder by issuing the command git init but I get command not found. Next I ran echo $PATH and I got:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
so I created a profile by issuing the command
$ touch .bash_profile
and then I edited the profile
$ open -e .bash_profile.
Finally I exported a new path so git could be found
$ export PATH=/usr/local/git/bin
Finally when I run echo $PATH I get /usr/local/git/bin but I still get the same error as before when I try to initialize my directory and now basic commands like 'ls' don't work.
How can I fix this?