打开windows terminal设置,点击左下角的“打开 JSON 文件”,加上下面的红色部分
"commandline": "D:\\Programs\\Git\\bin\\bash.exe --login -i",