1、首先电脑要安装git
打开git官网地址:Git进行下载,如下图界面:

如图片中描述:一般进入官网后会识别电脑对应系统(识别出了我的电脑是Windows系统 。如果未识别到电脑系统,可在左侧选择自己电脑对应的系统),直接点击 " Download for Windows " 或者 " Windows " 进入git版本页面

选择自己电脑需要的版本;
2、vscode集成git


git.path: git的安装路径

左侧的是vscode的git图标:提交、更新代码

打开git官网地址:Git进行下载,如下图界面:
如图片中描述:一般进入官网后会识别电脑对应系统(识别出了我的电脑是Windows系统 。如果未识别到电脑系统,可在左侧选择自己电脑对应的系统),直接点击 " Download for Windows " 或者 " Windows " 进入git版本页面
选择自己电脑需要的版本;
git.path: git的安装路径
左侧的是vscode的git图标:提交、更新代码