One: Problem description
Right-click the folder and open it with GitBash.
At this time, the icon is incorrect, and it shows that Git bash cannot find the application
Two: Cause of the problem The
storage path was modified after installing Git
Three: Solution
1. Win+r open the command line window, enter "regedit" to open the registry
2. Find [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\git_shell\command] and [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory \background\shell\git_gui\command] change the path of the file in the current Git bash and Gitgui path
3. Change the path of the files in [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_shell\command] and [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\git_gui\command] to the current Git bash and Gitgui path
4. Close the registry