title: Compare two Git branches without cloning
body: <p>With Git CLI can we compare two git branches <strong>without cloning</strong> anyone of them? (same repo)</p>
  
  <p>e.g.
  branches:</p>
  
  <ol>
  <li>master</li>
  <li>test_branch1</li>
  <li>test_branch2</li>
  </ol>
  
  <p>I want a command with the help of which I can compare something like:</p>
  
  <pre><code>git diff test_branch1 test_branch2
  </code></pre>