title: How to solve: Xcode shows files still as modified after commit
body: <p>I am using <a href="https://www.sourcetreeapp.com/" rel="nofollow noreferrer">SourceTree</a> as a git client.</p>
  
  <p>A while ago, I had a major problem with my project and my git, so I had to reactivate a copy of my workspace from an external source. For that purpose I had created a complete new repository. Commiting to that now.</p>
  
  <p>Today I've noticed, that most of my files appear as "modified" in Xcode. Even after commit and push (with SourceTree).</p>
  
  <p><a href="https://i.stack.imgur.com/P1Y5M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P1Y5M.png" alt="enter image description here"></a></p>
  
  <p>Source Control shows my two branches, what is correct:</p>
  
  <p><a href="https://i.stack.imgur.com/HbHi8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HbHi8.png" alt="enter image description here"></a></p>
  
  <p>And the History shows perfectly all the commits:</p>
  
  <p><a href="https://i.stack.imgur.com/XY25Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XY25Y.png" alt="enter image description here"></a></p>
  
  <p>My feeling tells me, that in the background the old repository information is still present and does this bug. How do I handle this? Help is very appreciated.</p>
  
  <p>Edit:</p>
  
  <p><code>git diff --ws-error-highlight=new,old</code> Output</p>
  
  <p><a href="https://i.stack.imgur.com/HV6gU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HV6gU.png" alt="enter image description here"></a></p>