You may have inadvertently clicked the Initialize Repository button. You can remove the source control by opening the directory in your File Manager and deleting the .git folder. That will remove the source control from your project.
If you want to go further, you can right click on the source control icon: and then click Hide 'Source Control'.
3
Answers
If all you are looking to do is close the source control panel, you just need to click on the tab for it.
If you are trying to do something else you’ll need to be more specific.
You may have inadvertently clicked the
Initialize Repository
button. You can remove the source control by opening the directory in your File Manager and deleting the.git
folder. That will remove the source control from your project.If you want to go further, you can right click on the source control icon: and then click
Hide 'Source Control'
.If you just want to turn off git related functions, you can use the following command on the command line(ctrl+shift+P):
Then open your settings :
Change
Git: Auto Repository Detection
to false