Visit the main Git download site.
Git comes in two flavors on Windows:
Choose one and stick with it.
They do not get along well in a given work tree on disk
(the repository formats are compatible but the "stat cache" of the work tree is not unless
Download the "Full installer for official Git" from here. You want to download the file that is named something like
''If you notice that the filename has changed (because a new version was released or something similar), please update this wiki!''
Run the installer. When prompted, choose to ''not'' modify the
PATH and choose the
Launch the "Git Bash" tool to get a command line shell with Git.
Launch a Cygwin command prompt to get a command line shell with Git.
If you have Xcode 4 installed, you already have git installed.
$ which git /usr/bin/git $ git --version git version 188.8.131.52
Download an installer from here.
Enter these commands:
$ sudo port selfupdate $ sudo port install git-core +doc
Popular Linux distributions already come with packages for Git.
Typically the packages are called: