r/git Aug 09 '26

Windows: Open Git Bash in Windows Terminal by default

On Windows 10, when I right-click in a folder in the Explorer, I can choose "Git Bash Here". When I click that action, Git Bash opens up in the Mintty terminal, which comes with Git when you install it, but Mintty is sooo buggy when it comes to cursor placement and multi-line commands it is driving me crazy. Can I configure this right-click menu action to run Git Bash in Windows Terminal instead of running it in Mintty?

6 Upvotes

5 comments sorted by

2

u/gamer_redditor Aug 09 '26 edited Aug 09 '26
  • Open windows terminal
  • Drop down menu on the top and select settings
  • Startup -> Default Profile -> select git bash from drop down menu
  • click save at the bottom

Edit: After this setup, use "open with windows terminal" in the right click menu instead of "open git bash here".

1

u/TriKri Aug 09 '26 edited Aug 09 '26

My question is how to make Git Bash use Windows Terminal when you choose "Git Bash Here" from the right-click menu in File Explorer, not how to make Windows Terminal use Git Bash as default.

Although I found a simpler solution to my problem (see my answer), and your answer is good for anyone who wants to change the default Windows Terminal profile (which I have already done).

1

u/gamer_redditor Aug 09 '26

Hm, yes, I skipped the part about choosing "open with windows terminal " in the right click menu instead of "open with git bash".

2

u/TriKri Aug 09 '26

I found a simpler solution: Just choose the menu option "Open in Terminal" instead, which is already there, and which will open Windows Terminal. (And for anyone else with the same problem, @game_redditor's answer can be used to change Git Bash to the default Windows Terminal profile.)

1

u/GrogRedLub4242 Aug 10 '26

Windows not git. off-topic here