Unbind Source Control for Solution or Project VS 2017

just remove all .git base files from project root folder and sub folder, after that restart solution and project you will get git free project


In VS2017 (checked in versions 15.8.9 & 15.9.10) and VS2019 (16.5.4) and VS2022 (17.1.3), goto:

Tools / Options / Source Control / Plug-in Selection

In combo-box "Current source control plug-in:", change to "None" and click OK.

The project will close; just reopen it and that's all...

enter image description here

To reach the Plug-in Selection section in Options, you can also use the search box; just type "Plug-in" and click in "Source control -> Plug-in Selection". In combo-box "Current source control plug-in:", change to "None" and click OK.

enter image description here