On Windows there has been a problem with Git Bash not recognizing since version 1.60 in Vscode, the following settings.json part is needed to bring it back (need the whole part, not just for git bash)
{ "terminal.integrated.profiles.windows": { "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Command Prompt": { "path": [ "${env:windir}\\Sysnative\\cmd.exe", "${env:windir}\\System32\\cmd.exe" ], "args": [], "icon": "terminal-cmd" }, "GitBash": { "path": "C:\\Dev\\Git\\bin\\bash.exe", "icon": "terminal-bash" } }, "terminal.integrated.defaultProfile.windows": "GitBash", "terminal.integrated.automationShell.windows": "C:\\Dev\\Git\\bin\\bash.exe" }