title: What is the meaning of ^M in 'git diff'?
body: <p>I am diffing a file between forked and upstream Bitbucket repositories:</p>
  <p><code>$ git diff origin/branchA..upstream/branchB -- some/file/path.xyz</code></p>
  <p>It seems to return the same difference for almost every file:</p>
  <pre><code>-&lt;U+FEFF&gt;@using Sitecore.Mvc
  +@using Sitecore.Mvc^M
  </code></pre>
  <p>What is the exact meaning of <code>^M</code> that only shows up after the first line? I see this issue when I compare other files as well. I am on a <a href="https://en.wikipedia.org/wiki/Windows_Server_2008" rel="noreferrer">Windows Server 2008</a> R2 machine. <code>core.autocrlf</code> is set to <code>true</code>. The .gitattributes is set to <code>text eol=lf</code>. My Git version is 2.5.1.windows.1.</p>