title: How to remove an unused source control master in Xcode?
body: <p>This is regarding Xcode 9.2.  I added a framework (local Git repo) to my project, then deleted it when it did not do what I needed it to do.  Now when I do a commit there is a popup with the old GIT master listed there, even though there are no source files for that repo in my project anymore.</p>
  
  <p>In Xcode, in the Source Control Navigator, the unused GIT master repo was still listed there.  I tried right clicking and the "Delete" option was grayed out:</p>
  
  <p><a href="https://i.stack.imgur.com/BbRr9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BbRr9.png" alt="enter image description here"></a></p>
  
  <p>I tried several command line GIT commands (found here on SO...) to clean things up but nothing had any affect.</p>
  
  <p>I tried recreating the Xcode project from scratch and that unused GIT repo master still shows up in the Source Control Navigator.</p>
  
  <p>I searched on SO for a couple of hours but didn't find anything regarding this issue.</p>
  
  <p>So, how do you remove an unused source control master in Xcode?</p>