How to Install GIT for Windows

Currently the latest version of GIT for Windows is: Git-2.11.0-preview20111206.exe

Click on the downloaded executable to start the install process. Accept all the default options during installation as shown below.

The installation wizard will walk you through the following 10 screens:

1) Welcome Screen

2) Read the license

3) Select Destination folder: By default this will be installed under “C:\Program Files\Git” 4) Select Components: This lets you choose which components of git you like to install. Use the default selections.

8) Configuring the line ending conversions: This indicates how Git will treat the line ending in the text files. If you are planning to checkout files from a remote Git repository that is running on Linux, use the default selection “Checkout Windows-style, commit Unix-style line endings”.

9) Installing: This will show the progress bar indicating the installation progress. 10) Completing the Git setup wizard: Click on finish to exist the setup. 11) Set environment variable for git: add this two lines in the path section C:\Program Files\Git\bin\git.exe C:\Program Files\Git\cmd (Replace the drive and path if it not installed at C drive, this is the default path for git installation if nothing specified)

To check if the git installed properly type this on command promptGit –version

1) After successful login, the page will show all created repositories there

2) Create new repository by click on the New button

3) Created repository in detail

Get the project via ‘git clone’ method,it has two methods: 1. Clone with Https 2. Clone with SSH Take this command from git hub and clone to the localhost in client machine Now the folder contain only the git README file and a .git folder Then we need a IDE for git operations but same time we can manage git via Command prompt, but let’s look with an IDE here we are using Eclipse as IDE