Installing Git on Windows
There are two competing Git packages for Windows: a Cygwin-based Git and a ânativeâ version called msysGit.
Originally, only the Cygwin version was supported and msysGit was experimental and unstable. But as this book went to press, both versions work well and support an almost identical set of features. The most important exception, as of Git 1.6.0, is that msysGit does not yet properly support git-svn. If you need interoperability between Git and Subversion, you must use the Cygwin version of Git. Otherwise, the version you choose is a matter of personal preference.
If you arenât sure which one you want, here are some rules of thumb:
If you use Cygwin already on Windows, use Cygwinâs Git because it interoperates better with your Cygwin setup. For example, all your Cygwin-style filenames will work in Git, and redirecting program input and output will always work exactly as expected.
If you donât use Cygwin, itâs easier to install msysGit because it has its own standalone installer.
If you want Git integration with the Windows Explorer shell (for example, the ability to right-click on a folder and pick âGit GUI Hereâ or âGit Bash Hereâ), install msysGit. If you want this feature but prefer to use Cygwin, you can install both packages without harm.
If youâre still in doubt about which package to use, install msysGit. Make sure you get the latest version (1.5.6.1 or higher), as the quality of Gitâs Windows support steadily improves in successive ...
Get Version Control with Git now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.