how to disable source control in visual studio code code example
Example: disable codelens visual studio 2019
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature
To disable CodeLens, choose Tools > Options > Text Editor > All Languages > CodeLens, and deselect the feature