title: Git find similarities (opposite of diff?)
body: <p>I know I can use</p>
  
  <pre><code>git diff branch1..branch2
  </code></pre>
  
  <p>to compare two branches and see the changes.</p>
  
  <p>I'm looking for the opposite - the amount of differences between the two branches is large and I want to understand what has remained the same.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Note: One of the branches has squashed a number of its commits, so they no longer share a recent common parent in the commit tree.</p>