Information Technology Reference
In-Depth Information
1-1. Installing git on Windows
Problem
You want to install git on Windows.
Solution
sion of git for Windows. At the time of writing this was version 1.8.3. The installer was
named: Git-1.8.3-preview20130601.exe. Run the installer leaving all options set to de-
fault values. After this, git is ready to be run on your system.
How It Works
There are two methods for installing git on Windows:
• Use Cygwin package available at
http://www.cygwin.com
• Use the standalone installer called msysgit.
In this procedure we use msysgit package.
When you run the msysgit installer downloaded from
ht-
tp://code.google.com/p/msysgit/
you will be asked two questions:
• How to configure the paths?
• How to configure the conversion of end of line character?
The dialog box titled
Adjusting your PATH environment
sets the path environment
variable. Msysgit installer contains not only git binaries but also a number of Linux
programs such as
ssh
,
curl
,
ls
,
mkdir
,
rm
, and
find
. With default settings the in-
staller copies git and these programs to the following directories:
C:\Program Files (x86)\Git\bin
This folder contains
ls, mkdir, ssh, curl, find
, etc.