title: Git diff incorrectly interprets my changes
body: <p>The problem occurs when trying to diff blocks with same structure commonly appears in html/css for me.
  Example:
  <a href="https://i.stack.imgur.com/CxPiG.jpg" rel="noreferrer">Initial commit</a></p>
  
  <p>Now lets add new param to "someblock" and new class "someotherblock".
  <a href="https://i.stack.imgur.com/8VFLL.jpg" rel="noreferrer">result</a></p>
  
  <p>Expected result:</p>
  
  <pre><code> 1  1 .someblock
   2  2    height:100%;
      3+   width:100%;
   3  4 }
      5+.someotherblock{
      6+   height:100%;
      7+}  
  </code></pre>
  
  <p>Is there any way to make git undestand "logic" of the changes?</p>