1

Running Windows 10, I downloaded Git at https://git-scm.com, but when entering "git version" in the command prompt it returns 1.9.4.msysgit.2.

I've reinstalled and restarted multiple times but it keeps displaying the older version. What are some possible causes and solutions to make sure I'm running the 2.7.0?

CodeWizard
  • 92,491
  • 19
  • 110
  • 133
Rcali
  • 11
  • 2

2 Answers2

1

Check you %PATH% environment variable: it is likely that the 32 bits 1.9.4 Git comes before the 64 bits 2.7.0 Git.

The bash is more recent, based on the 64bits msys2 project.

Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283
1

Looks like you have them both installed on your machine.

Try to uninstall the old version or both of them if you wish and then install the latest once.

Then verify that you have the desired version:

enter image description here

CodeWizard
  • 92,491
  • 19
  • 110
  • 133