Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a "Git Bash Here" context menu option to the windows explorer in Windows 11? [closed]

I've recently switched to Windows 11 and after installing git, I found out that the context menu option, to easily launch git bash, is not there. The good news is, that it is possible to access the old style context menu, along with the desired "git bash" option, when clicking on Show more options button. But it would be nice to be able to access the button with one right click (in the main Windows 11 context menu). My question is: how to add the Git Bash Here context menu option in Windows 11 (for the main context menu)?

Here's what context menu in W11 looks like atm: enter image description here

Here's what it look like after clicking the Show more options button: enter image description here

Ideally, I would like to have a similar solution, that is provided for Windows 10 here, but for the main (first) context menu in Windows 11.

like image 207
David Oganov Avatar asked Nov 23 '25 07:11

David Oganov


1 Answers

Okay, I finally came back here with a solution. Also attaching a bunch of screenshots, since many of us are not yet that well familiar with the Windows 11 UI. So here are the steps you need to take to make Git Bash or Git Cmd to be open from the first context menu of Windows 11:

  1. Right Click and open a new terminal window ("Open in Terminal" option). enter image description here
  2. On the top, right next to the tab, click on the drop-down menu and the click on "Settings" button.enter image description here
  3. Once the settings are open, scroll down on the left side and select "Add a new profile" option.enter image description here
  4. Either select "+ New empty profile" option or "Duplicate" option in the opened section.
  5. Fill out the fields you need, as you want: Name, app to launch (git-bash.exe or git-cmd.exe), icon etc. Click "Save". Most probably Git executables are sitting somewhere similar to this place on your machine: C:\Program Files\Git. Git icon can be found somewhere in this place: C:\Program Files\Git\mingw64\share\git. P.S. if you go with git-bash, then 2 windows will be launching for whatever reason.enter image description here
  6. Once the new profile is created, go ahead and choose it as the default option and click "Save".enter image description here

Now you should be able to repeat the step #1 and witness your selected app opening by default. Hope this helps. Tried to make it as detailed as possible and added screenshots for better visibility.

like image 177
David Oganov Avatar answered Nov 25 '25 21:11

David Oganov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!