title: Xcode shows multiple projects in source control
body: <p>Recently, Xcode started showing two items in the source control tab: the first one is the main project I’m working on, and the second one is a pod I integrated (and it’s about the time I added the pod that I first noticed this thing).</p>
  
  <p><a href="https://i.stack.imgur.com/5OtBN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5OtBN.png" alt="Xcode showing two items in source control"></a></p>
  
  <p>I tried deintegrating CocoaPods, and after that the second repository disappeared from Xcode. But when I tried to only remove the single pod, the source control item was still there.</p>
  
  <p>How do I remove the second repository from Xcode?</p>
  
  <p>I use Xcode 10.1, and both items in source control are Git repos.</p>
  
  <p>P.S. <a href="https://stackoverflow.com/questions/27516220/xcode-source-control-showing-multiple-working-copies">This question</a> does not help.</p>