title: How to upgrade Git to latest version on macOS?
body: <p>I just bought a new Mac with OS X Lion and I checked in the Terminal what version of git is installed by default. I got the answer</p>
  
  <pre><code>git --version
  &gt; git version 1.7.5.4
  </code></pre>
  
  <p>I would like to upgrade git to the latest version 1.7.8.3, so I downloaded the dmg installer "git-1.7.8.3-intel-universal-snow-leopard.dmg" and I launched it.</p>
  
  <p>After the install, the Terminal still says that the version is 1.7.5.4. What am I doing wrong?</p>