when using git bash in vs code as default terminal it opens new a new window code example
Example: vscode select terminal
# to select new default shell for the terminal in vs code:
- press F1 in VS Code
- typing/selecting Terminal: Select Default Shell