None. Git for Windows is a standalone install.
Git for Windows provides the git command-line tool, a Bash environment, and supporting
utilities including a bundled gpg.exe for signed commits. It is the foundation
for all other version control tooling in the Continuous Delphi ecosystem and
must be installed before TortoiseGit, GitHub CLI, or VSCodium.
The task and tooling guides in this repository assume Git for Windows is installed and will build on it incrementally.
winget install --id Git.GitAccept the UAC prompt when it appears. winget will install the latest stable release.
- Go to https://git-scm.com/download/win or https://github.com/git-for-windows/git/releases/latest
- Download the
.exeinstaller for your architecture (most machines:Git-2.x.x-64-bit.exe) - Run the installer
Accept defaults for most screens. The following screens warrant attention:
| Screen | Recommended choice | Reason |
|---|---|---|
| Default branch name | main |
Matches GitHub default and Continuous Delphi repositories |
| Line ending handling | Checkout as-is, commit as-is | Continuous Delphi repositories use .gitattributes to manage line endings explicitly |
| Default terminal emulator | Windows Terminal or MinTTY | Either works; Windows Terminal integrates better with modern Windows 11 |
Open a new terminal after installation and run:
git --versionExpected output:
git version 2.47.x.windows.xConfirm the configured identity (required for commits):
git config --global user.name
git config --global user.emailIf these return nothing, set them now:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"- Git for Windows bundles its own
gpg.exeatC:\Program Files\Git\usr\bin\gpg.exe. This is used for signed commits. See the signed commits documentation when that topic is covered. - The
gitcommand is available in PowerShell, Command Prompt, and Git Bash after installation. - Cloning a repository with submodules (as used in
cd-ci-toolchain) requires the--recurse-submodulesflag:git clone --recurse-submodules <url>