Change:
`${process.env['ProgramW6432']}Gitusrbinbash.exe`, `${process.env['ProgramFiles']}Gitbinbash.exe`, `${process.env['ProgramFiles']}Gitusrbinbash.exe`, <ins> `${process.env['ProgramFiles(X86)']}Gitbinbash.exe`, `${process.env['ProgramFiles(X86)']}Gitusrbinbash.exe`, </ins> `${process.env['LocalAppData']}ProgramsGitbinbash.exe`, `${process.env['UserProfile']}scoopappsgit-with-opensshcurrentbinbash.exe`, `${process.env['AllUsersProfile']}scoopappsgit-with-opensshcurrentbinbash.exe`

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes/No <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: OS Version: After updating VsCode I couldn't see git bash when I tried to select the default terminal profile. This is my <a href='' target='blank'<img src='' border='0' alt='Vs-Code-Settings'/</a<br /After that, I thought bc of some reasons the is not counted as a profile. So I tried to create a new profile by pressing then then I pressed configure button of Powershell. And after that when I try to type Git Bash they said I already have a profile with name. So I went to my and I commented the git bash part. But when I tried again to configure PowerShell and type they again said !!! I can't take the screenshot because when clicking another place the command palette disappears After that, I deleted the Code folder from the And I opened VsCode again, But it is still saying I don't have git bash in terminal profile and when i click configure buttons of the profile or try to add it from they say Oh, yes when I change into this code --- <a href='' target='blank'<img src='' border='0' alt='Vs-Code-Settings-Weird'/</a<br /It works fine. I can select bash as my default profile!!!!! It didn't happen in the previous version so I think it is happening because of the Latest version glitch. (Btw I just signed up in Github) So maybe I broke some rules. Sorry if I break :disappointed:
(Experimental duplicate detection) Thanks for submitting this issue.

Please also check if it is already covered by an existing one, like: <!-- score: 0.539 --- <!-- score: 0.522 --- <!-- score: 0.511 --- <!-- score: 0.496 --- <!-- score: 0.476 --<!-- potentialduplicatescomment --
Same issue after upgrade to the new version (vscode 1.57.0)
I had the same issue after updating to 1.56.0, VSCode couldn't see the installed Git Bash on W7. I fixed it by hardcoding a new terminal profile with an explicit path to Git Bash (this might be related to me having a non-default path to my Git Bash install). And after updating to 1.57.0 Git Bash terminal profile disappeared again. I managed to fix that by renaming "Git Bash" profile to "Git_Bash".
But after deleting cache when I try to type and then GitBash, I couldn't see GitBash in suggestions. Also, there was a yellow underline on . After that, I deleted the word And saved it, and tried to type GitBash, there was in the suggestions. After that, there was no yellow underline on the word. Its also a bug I think.
Something weird is indeed happening when trying to override , I have the following: And it's still opening git bash. I think this main UX issue being reported here is when Git Bash isn't detected though, unlike my case above.
I have the same issue. Existing issues and seem to suggest that this problem occurs only when your Git Bash is not installed at the standard location () and the profile is named exactly .
We will improve the info provided on hover of the property.
Moving my report from to here since this issue represents the historical issue tracked by the VS Code team. VS Code Version: 1.70.2 OS Version: Windows 11 Home version 21H2 OS build .856 Windows Feature Experience Pack 1000..856.0 Steps to Reproduce: gitforwindows (git version 2.37.2.windows.2) -SHIFT-P to activate the control palette Terminal: Select Default Profile Bash is not listed in dropdown Bash "source" is listed but is ignored.

Issue discussed on stackoverflow: Workaround: I replaced the key-value pair above with the following key-value pair (this was the default install path for me; note that the path could vary if a different git for windows install location was chosen): Restarted VS Code, activated the command palette, selected Terminal: Select Default Profile and Git Bash appeared as a dropdown option. Selected Git Bash as the default terminal. Ran python file. Terminal pane opened Git Bash and code executed successfully.
Thanks for the follow up we don't look in currently but should:
You are welcome I was a bit surprised that would be considered a non-standard git for windows install location as is implied by the additional language in . Anyways, enjoy teaching Python here at the University of Michigan using VS Code. Go Blue, Go VS Code.