win键 + R 键,输出 regedit,打开注册表
找到 \HKEY_CLASSES_ROOT\Directory\Background\shell
新建项 git-bash
然后在 git-bash 下在新建项 Command,默认值设为
"C:\Program Files\Git\git-bash.exe" --cd="%v."
在 git-bash 下在新建字符串值 icon,值为
C:\Program Files\Git\git-bash.exe


出来了