title: Xcode Source Control doesnt track the changes
body: <p>When I add a new file to xcode, sometimes it's source control doesnt track the changes of the newly added file. I can see the changes in SourceTree but not in xcode.</p>
  <p>On below image, I should see a blue bar near the red area I marked. But I can't. This happens sometimes to newly added files only.</p>
  <p><a href="https://i.stack.imgur.com/WNupB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WNupB.png" alt="File Screenshot" /></a></p>
  <p>What I've tried so far are as below:</p>
  <ul>
  <li>CLosing&amp;Reopening xcode and macbook.</li>
  <li>Adding untracked files from xcode source control toolbar as below image:</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/ozYWn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ozYWn.png" alt="enter image description here" /></a></p>
  <p>As you see the files seem already be added to source control.
  What can I do to see that blue bar near those lines numbers again?</p>
  <p><a href="https://i.stack.imgur.com/8AHDV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8AHDV.png" alt="enter image description here" /></a>
  Why is this happening?
  <strong>Note:</strong> This only happens to newly added file currently.</p>