19

Why is it that if you download Git 2.0 from the net, you always get a 1.9.4 installer package? Why can't you just find a Git installer package on the internet anywhere that is not only labeled 2.0+ , but the installation archive you download is also labeled as such?

For example: This 2.1.3 site takes you to this 1.9.4 site download.

djangofan
  • 25,461
  • 54
  • 171
  • 262

2 Answers2

56

There is a new project called "Git For Windows": https://git-for-windows.github.io/

As I explained, it will replace msysgit, with the phasing out of msysgit (Q4 2015) and the new Git For Windows (Q2 2015).

It has a much more recent bash, based on the 64bits msys2 project, an independent rewrite of MSYS, based on modern Cygwin (POSIX compatibility layer) and MinGW-w64, with the aim of better interoperability with native Windows software.
msys2 comes with its own installer too.

The git bash is now (with the new Git For Windows 2.6.x):

GNU bash, version 4.3.42(2)-release (x86_64-pc-msys)
Copyright (C) 2013 Free Software Foundation, Inc.

(as opposed to the old 32-bits msys bash from Git for Windows 1.9.5:
GNU bash, version 3.1.20(4)-release (i686-pc-msys) 2005).

This 4.3 bash comes with the latest patches.

You can install the SDK in order to build a git 2.x.
(The SDK will bring the right git sources)

Update 2015: you now can test on Windows the latest Git releases (2.6.2+ at the moment): https://github.com/git-for-windows/git/releases/.

Community
  • 1
  • 1
VonC
  • 1,042,979
  • 435
  • 3,649
  • 4,283
  • 1
    This allowed me to get the latest version of Git on windows using an installer. Wish I'd seen it sooner. – b01 Apr 19 '15 at 12:01
  • Thank you for pointing this out. I wonder why on the official [Git page](https://git-scm.com/) they still offer that old Git for Windows installer. – informatik01 Jul 06 '15 at 13:47
  • @informatik01 because git-for-windows is still consider not stable enough: https://github.com/git-for-windows/git/issues/12#issuecomment-111185468. Hopefully, a full switch might occur for Git 2.5. – VonC Jul 06 '15 at 13:49
  • @VonC OK, I see. Thanks for the info. – informatik01 Jul 06 '15 at 17:50
  • @VonC perhaps update and point to the new homepage on https://git-for-windows.github.io/ - the git-scm.com downloads now also point to these new builds anyhow. – Thomas Ferris Nicolaisen Oct 23 '15 at 14:07
  • 1
    @ThomasFerrisNicolaisen Thank you: here is my edit for your review: http://stackoverflow.com/posts/26826359/revisions. Note that you can also edit any answer you want (your edit will be reviewed, but you are so close to http://stackoverflow.com/help/privileges/edit) – VonC Oct 23 '15 at 15:00
9

Git for Windows is msysgit project. The latest version of this project is 1.9.4 so Git is also 1.9.4 in it. This is official Git installer for Windows.

Also there is a note on download page:

The current source code release is version 2.1.3. If you want the newer version, you can build it from the source code.

So you can build Git 2+ on Windows by yourself.

phts
  • 3,605
  • 1
  • 15
  • 29