title: How to set GIT PATH in centos 7?
body: <p>In my use case, I want to use the latest version of GIT in CentOS7. But I do not have sudo access to install git in the box. </p>
  
  <p>Installed git version is <code>1.8.3.1</code>. But I want to use <code>2.4.11</code> because the version <code>1.8.3</code> gives errors like </p>
  
  <pre><code>unrecognized argument: --author-date-order
  </code></pre>
  
  <p>I downloaded the latest git and tried to use it. I could run it without the error mentioned above. I used like <code>bin/git</code> directly.</p>
  
  <pre><code>$git.Linux.x86_64/bin/git --version
  git version 2.4.11
  </code></pre>
  
  <p>But I cannot change the code in all the places with the path. Is there a way to set latest git PATH and use it without installing it?</p>
  
  <p>I would really appreciate any help on this. </p>