title: git: command not found (on OS X 10.5)
body: <p>I am receiving this error when I try to use git lately.  I'm not exactly sure when the error started as I rarely use git.
  I used to use it.  I didn't change anything about it or my machine that I know of.  Now it doesn't work.</p>
  
  <p>I've gone through and reinstalled the latest version using <a href="http://code.google.com/p/git-osx-installer/" rel="noreferrer" title="this">this</a> installer, and I still get the same error in terminal.</p>
  
  <p>Anyone heard of this before?  The installer runs just fine, no errors, but it still doesn't recognize the "git" command in terminal.</p>
  
  <p>I'm running OS 10.5</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Per a response down below which pointed me to my PATH variable I think that's the issue.
  I installed MacPorts at one point, which changed my .profile
  I have no idea how to change it back though.
  My old .profile was this:</p>
  
  <pre><code>alias g='git'
  export PS1='$(git branch &amp;&gt;/dev/null; if [ $? -eq 0 ]; then \
  echo "\[\033[00m\]$(git branch grep ^*sed s/\*\ //) "; fi)\$\[\033[00m\] '
  export LC_CTYPE=en_US.UTF-8
  export PATH=$PATH:/usr/local/bin
  </code></pre>
  
  <p>My new .profile is this:</p>
  
  <pre><code>export PATH=/opt/local/bin:/opt/local/sbin:$PATH
  export MANPATH=/opt/local/share/man:$MANPATH
  </code></pre>
  
  <p>How can I make those two files become one?</p>