First check if Git* installed or not in your system
by typing the command in cmd /command prompt (In windows)
where git
if you get an output like this
? where git
C:\cmder\vendor\git-for-windows\cmd\git.exe
Then Go to Settings > Preferences > Settings
and put the bellow code** right part.
{
// If git enabled ?
"git.enabled": true,
// Path to the git executable
"git.path": "C:\\cmder\\vendor\\git-for-windows\\cmd\\git.exe"
}
** Just add double slash (\\
) just like the above code.