title: How can I unlink a git repository in visual studio code
body: <p>I was working in a project but I'm done now, I was handling git from vs code and now I want to remove the repository and don't know how to do it.</p>
  <p>This is what I see in my vs code</p>
  <p><a href="https://i.stack.imgur.com/UdY4W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UdY4W.png" alt="enter image description here" /></a></p>
  <p>I do not recognize any of those 10k changes, none of those files... I just want to make that number disappear. You see that &quot;main&quot; in the bottom left corner, that's the repository I want to remove.</p>
  <p>I've read <a href="https://stackoverflow.com/questions/42752341/how-to-unlink-sign-out-from-git-repository-in-visual-studio-code-for-mac">How to unlink / sign out from Git repository in &quot;Visual Studio Code&quot; for Mac</a> and <a href="https://stackoverflow.com/questions/55887655/how-to-delete-git-repositorylaravel-project-on-visual-studio-code">How to delete git repository(laravel project) on visual studio code</a></p>
  <p>I've tried deleting the .git folder, signed out of my github account from visual studio, uncheck the git : Github Authentification in the settings, pasting the <code>&quot;git.enabled&quot;: false</code> into the settings.json, deleting the Personal Access Token in github(I didn't have one either).</p>
  <p>None of what I mencioned above worked and don't know what else to try. I just want to remove the repository, not change it just unlink it. My last resource would be reinstall visual studio in hopes I get it but there should be one way to achieve this without doing something crazy.</p>