(My prior post gets deleted by the group since I did not click to join the group - stupid mistake)
Here's a direct pull-off article from
stackoverflow, I'm guessing the right click menu you referred here is the context menu which shows a bunch of shortcuts with a popup when cursor right clicked. Here the context menu encounters an inept change over the system registries over the registry editor. Yet you mentioned a "shift" of the dir of gitbash installation location, I ain't sure on what you exactly means here since lesser context and details are provided, but yes if you just ctrl+c/v the gitbash installation location into some new locations, the shortcut entries of gitbash in your context menu obviously won't work, since the shortcut was pointing your original installation location your new shifted location is not properly configured with environment variables; whereby if you managed to open the gitbash via right click in whatever dirs, my presumption here on loosing the icons is because the dirs does not match your ''gitbash.exe" file, let's say you priorly installed in "C:/<your-username>/gitbash" and you ctrl+c/v the entire folder into "D:/apps/gitbash", here the gitbash.exe's original location was in driver C, and now it's in D. Apparently it won't work out; this does something with symlinks and shortcuts in windows, especially win10, I'm just providing assumptions based on my own experience, you will have to do the actual research. :)