On Windows
- Install msysGit
A nice graphical option on Windows is TortoiseGit, though you need command line Git if you are using IntelliJ IDEA.
On Mac OS X
- Install Xcode from the Mac OS X CD
- Install MacPorts
- From the command line: sudo port install git-core
A nice graphical option on Mac OS X is GitX, though you need command line Git if you are using IntelliJ IDEA.
On Ubuntu Linux
- From the command line: sudo aptitude install git-core
Other flavors of Linux likely have a similar package available.
More information
See this guide for more details for all three OSes.
