18

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

2
  • 4
    Can't you just download and use it? git-scm.com/download/win – Mikael Kjær Dec 7 '16 at 9:48
  • 1
    if it's just a VM for compilation then use git in your host and then compile in the VM – phuclv Jan 20 '19 at 2:57
26

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)

5

This is an old article but hopefully answers a way to install on Windows XP

http://www.cnx-software.com/2011/08/19/install-git-for-windows-xp-windows-7/

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 1.7.2.0 32-bit
  • Git 1.7.4

...

2

Here is the official answer from the Git for Windows Prerequisites page:

Windows version

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.

Why?

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).

1
  • @Downvoter, sorry if this wasn't helpful to you. I just wanted to get to an ultimate explanation of why support was dropped, I didn't find the ultimate answer, but I published what I did find, and cited as much as I could. – mwfearnley Jan 21 '19 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.