Does anyone know how I can run Git on Windows XP? I have inherited an XP VM and need a way to version my code.
Unfortunately updating is not an option due to license constraints
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
The last versions working with Windows XP (32 bit):
This is the last version which is compatible with Windows XP and Server 2003.
As of Git for Windows v2.10.1, Windows Vista or later are required. The last version of Git for Windows to support Windows XP and Windows Server 2003 is v2.10.0. (more)
This is an old article but hopefully answers a way to install on Windows XP
The only reason to install TortoiseGit is if you are used to TortoiseCVS/TortoiseSVN and want to keep the same look and feel.
I use the following version for installation on Windows XP:
- TortoiseGit 188.8.131.52 32-bit
- Git 1.7.4
Here is the official answer from the Git for Windows Prerequisites page:
As of Git for Windows v2.10.1, Windows Vista or later are required. The last version of Git for Windows to support Windows XP and Windows Server 2003 is v2.10.0.
Parts of Git are implemented in shell script, and Git for Windows runs those scripts via MSYS2's POSIX emulation layer, which in turn is based on the Cygwin POSIX emulation layer. Seeing as Windows XP and Windows Server 2003 are years past their official end of life, the Cygwin project ended their Herculean efforts to support those Windows versions.
Digging into some GitHub issues suggests that there was no conscious decision on the part of GfW to drop support, but an MSYS update broke compatibility, and they realised at some point after the subsequent release (2.10.1).