title: git diff shows ^M with color ui true
body: <p>I modified my <code>.gitconfig</code> in such a way that I have some colors when performing <code>git diff</code>:</p>
  
  <pre><code>$ cat .gitconfig 
  [color]
  ui = true
  </code></pre>
  
  <p>I'm working on an ubuntu machine and I edited some code using VIM. After editing a file a execute <code>git diff</code>, once with and once without <code>ui=true</code>.</p>
  
  <p><strong>Problem</strong>: in the first case I have <code>^M</code> characters and the end of the edited lines. However, I don't see those when turning of <code>color.ui</code> or when looking with <code>vim</code>, <code>cat</code>, <code>more</code>.. at the manipulated file.</p>