I don't know, how that happened but before today I could right click on any folder and there would be and an option Git Bash here. But today I dont have that option. Anyone knows how to get that back?
18 Answers
HOW TO FIX WITHOUT RE-Installing:
I got this problem after moving all my programs off of my main hard drive and pasting them into my "P" drive. But kept all of the directory structures the same.
Git was moved from:
C:\DEV\PROG\GIT
TO:
P:\DEV\PROG\GIT
1: Open The Registry Editor: Type "regedit" in start menu search and hit enter.
2: Find the context menu shortcut configuration for "git bash here" In regedit: Menu "Edit" > "Find" > "Find what" and enter "git_shell"
3: Edit the Data value so that path points to the correct location. In my case I changed:
"C:\DEV\PROG\GIT\git-bash.exe" "--cd=%v."
TO:
"P:\DEV\PROG\GIT\git-bash.exe" "--cd=%v."
Screen shot included below.
2 Comments
Steps if you can't use the reinstall metod.
Use REGEDIT
1/ Open regedit (search it if needed)
2/ Go to 'HKEY_CURRENT_USER/Software/Classes/Directory/Background'
3/ Create new key 'shell'
4/ Create new key 'Git bash here' (or whatever name you want to see in the menu)
5/ Create new key 'command' (must be named command)
At this point point you'll have
'HKEY_CURRENT_USER/Software/Directory/Background/shell/Git bash here/command'
6/ Edit the value of the command key as follow 'pathToGit/git-bash.exe'
Update or open new windows explorer and you'll see it when right clicking.
8 Comments
Reinstall Git and select:
Context menu entries: "Git Bash Here" (and the "Git GUI Here" option)
During the installation. Can't say why it disappeared, but this should bring it back.
4 Comments
Had the same issue , realized that previously right clicking anywhere or inside the folder the Option would show but now I had to select or highlight the folder and then right_click for the option to show.
1 Comment
Run this script (AddGitToExplorerContextMenu.reg). You may need to update the location of Git. You can add it manually through regedit also
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell]
@="Git Bash"
[HKEY_CLASSES_ROOT\Directory\Background\shell\git_shell\command]
@="\"C:\\Program Files\\Git\\git-bash.exe\" \"--cd=%v.\""
3 Comments
- Uninstall Git completely and delete the Git folder in program files.
- Install Git.
- From the Context menu, select "Git Bash" & "Git GUI here" options.
1 Comment
regsvr32 /u git_shell_ext64.dll commands this suggestion was the solution for me (I used git 1.8.3 and forgot the git-cheetah plugin). Thx mate.if you can not find it even in the "show more option".
Just download the git bash and install it again, it will not install many things because you already have gitbash on your computer (if there is one).
It is just less than a minute to download and install and it will appear again on right click.
There might be a better solution but this is just a minute so I do this every time I miss.
I lost the git bash option 2/3 times ( i guess) after the windows update and going through the internet to follow these complex things is not worth it if I can get back with just going through the installation again.
This is the windows download link:
Comments
After Windows 11 update, it got invisible. I first uninstalled the older version and installed the latest 2.35 version. it was still not visible. It is still there albeit inside another folder in the context menu that comes with a right click. By going inside any folder right-click INSIDE that folder, in German OS there is Shift + F10 combination you have it there like before. Or without this shortcut combination go inside Further option (This last) it is there.
Comments
It worked fine when I was using Win 10 ,after upgrading my windows to 11 it stopped working.
I solved my problem by following these simple steps.
- Uninstall Git completely on computer
- Download it here : https://git-scm.com/download/win
- Install it
It works fine now!!!
1 Comment
I haven't tried all of the options above but this worked for me. This is just an alternative your tools like gitbash and cmd in your folder.
- Open your folder
- click the bar at the top of your folder which shows the directory of your folder(Click the empty space in the bar)
- after clicking on the empty space inside that bar, type Git Bash.lnk as shown in the image below [2]: https://i.sstatic.net/gCJzk.png
- Press Enter on your keyboard
take note: the "Bash.lnk" has a lowercase L
Comments
If you’re experiencing issues with the “Git Bash here” option not working when you right-click, there are a few steps you can take to troubleshoot and resolve the problem:
Check Registry Entries: Open the Registry Editor by typing “regedit” in the start menu search and hitting enter. Paste path: Computer\HKEY_CLASSES_ROOT\Directory\Background\shell. click on default file.edit its Data value so that it points to the correct location of your Git Bash executable. For example, if you’ve moved Git from D:\Programming file\Git to C:\Programming file\Git Your prob is solved




explorer.exe: Application Not Foundpopup. The solution described in this question works as well for this.