title: How can I put $HOME/opt/git/bin to my PATH?
body: <p>I tried to include the following unsuccessfully to my ~/.profile:</p>
  
  <pre><code>export PATH='$HOME/opt/git/bin'
  </code></pre>
  
  <p>It seems not to work because $git gives me nothing.
  I am trying to install Git.</p>
  
  <p>I have also tried commands <a href="https://stackoverflow.com/questions/315911/git-for-beginners-the-definitive-practical-guide/323764#323764">here</a>. </p>