title: Do I have 2 kinds of git installed in my Mac? If so, which one will be used by default?
body: <p>If I type on the terminal:</p>
  
  <pre><code>&gt; git --version
  git version 2.21.1 (Apple Git-122.3)
  </code></pre>
  
  <p>And if I type: </p>
  
  <pre><code>&gt; brew upgrade git
  Warning: git 2.25.0_1 already installed
  </code></pre>
  
  <p>I'm guessing, my computer has 2 kinds of git installed? If so, which one will be used by default in this case?</p>
  
  <p>Also, what do you suggest I do in this case moving forward? Which one do you suggest I remove and why?</p>
  
  <hr>
  
  <p>EDIT:</p>
  
  <pre><code>Also, if I type:
  
  &gt; git --version
  git version 2.21.1 (Apple Git-122.3)
  
  &gt; echo $PATH
  /usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/aj/.rvm/bin
  </code></pre>
  
  <p>Why is the echoed path looks weird?</p>