1. 先安装 git windows 客户端
2. dos command 调用:
C:\WINDOWS\system32\cmd.exe /c ""C:\Program Files\Git\bin\sh.exe" --login -i"