'How to remove a master branch repo from source control

top left of vscode

Sorry kind of new to using git. As shown in the picture, I am trying to get rid of/remove the source control repo. Took a look around and could not find a solution.. the only thing I found was disabling git in the settings but that doesn't seem like a proper solution.

I think this is what is causing gh-pages environment to not deploy after npm run deploy runs. everything compiles correctly and creates a gh-pages branch in my github repo, but no environment is deployed.

Things I've tried: -delete the branch using git: delete branch -look in settings to remove repo -delete .git folder - this works temporarily but once I make changes to my code, the repo comes back -sign out of github account and remove github account from windows credential manager

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source