title: Git shows warning for extra space at end of line in readme file
body: <p>I'm writing a <code>README.md</code>. I've added an extra space at the end of some lines. When I do <code>git diff</code> shows this as highlighted as below </p>
  
  <p><a href="https://i.stack.imgur.com/iVL3G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iVL3G.png" alt="Git warning on extra space after a line"></a></p>
  
  <p>Why the trailing whitespace is considered an error?</p>