"terminal.integrated.defaultProfile.windows": "Git Bash",
"terminal.integrated.defaultProfile.windows": "PowerShell",
"terminal.integrated.defaultProfile.windows": "Command Prompt",
//In VS Code, do CTRL+Shift+P / ⇧⌘P
//Type in "Terminal: Select Default Profile"
//(Terminal: Select Default Shell for older versions)
//Select default terminal (e.g. Git Bash)
The source link has the solution to this:
https://offering.solutions/blog/articles/2020/03/24/setting-windows-terminal-as-default-external-terminal-in-visual-studio-code/
The best way to do this is
You can also select your default terminal by pressing F1 in VS Code and
typing/selecting Terminal: Select Default Profile (or Terminal: Select Default
Shell in older VSCode versions