title: How to install latest version of git on CentOS 8.x/7.x/6.x
body: <p>I used the usual: </p>
  
  <pre><code>yum install git
  </code></pre>
  
  <p>It did not install the latest version of git on my CentOS 6. How can I update to the latest version of git for CentOS 6? The solution can be applicable to newer versions of CentOS such as CentOS 7.</p>