在Windows上安装Git:msysgit是Windows版的Git,从https://git-for-windows.github.io下载
Git安装到环境变量里,确保任意路径可以访问:将git安装目录下的cmd目录添加到系统的path变量下,比如"H:Program FilesGitcmd"
ctrl+shift+p快捷键,输入git,会看到VS Code支持的所有git命令
参考资料1:【http://www.cnblogs.com/xuanhun/p/6019038.html?utm_source=tuicool&utm_medium=referral】