Git for Windows 安装配置指南
官方下载
下载地址:
https://github.com/git-for-windows/git/releases/download/v2.52.0.windows.1/Git-2.52.0-64-bit.exe
安装包:Git-2.52.0-64-bit.exe
支持直接下载安装包或使用命令行安装。
使用 Winget 安装
如果未安装 winget 工具,请在命令提示符或 PowerShell 中运行以下命令:
wget install --id Git.Git -e --source winget
注意: 原文命令为 winget install,请确保输入正确。
安装步骤



选择编辑器这里,根据需要选择。

设置 Git 初始化的默认分支名称。

在 Path 中包含 Git 命令。
















