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

Viewed 2976

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.

1 Answers

Unfortunately, at this point in time, there is not way to configure the new Windows 11 context menu. However, as a possible solution, you can enable showing full context menu by default (like it's in Windows 10). It can get the job done, but I don't think that's the most graceful solution. I'd say it's far not the one, but still can be an option for some folks out there.

To do that, you just need to add {86ca1aa0-34aa-4e8b-a509-50c905bae2a2} key with subkey InprocServer32 under Computer\HKEY_CURRENT_USER\Software\Classes\CLSID and make sure that in InprocServer32, "Data" column has value and is set to default, empty value, like it's in the screenshot below.

enter image description here

P.S. You will need to restart your computer for changes to be applied.

Related