Open In App

How to Install Git on Cygwin?

Improve
Improve
Like Article
Like
Save
Share
Report

Git is a distributed version control system. It is needed when there is any collaboration work present. Like in any company project development or in any college project. Every member of a team develops their part of the project. Then they upload it to Git’s local repository and in the remote repository. Then all the parts are combined using GitHub. Then the total projects are developed. Cygwin is an open source software. It is used to do Linux works in windows system. Basically, it provides an Linux terminal where necessary things can be installed. Git can be installed in Cygwin along with it. When installing Cygwin it will ask some extra packages, there the Git option can be included. This is the only way to install Git in Cygwin.

Features:

  1. Git is used for improving any existing projects. It provides Branch concept to do that easily.
  2. Git LFS is used for handling large files in the repository.
  3. Git provides a time machine concept where users can view their past work easily.

Installing Git in Cygwin

To install Git in Cygwin follow the following steps:

Step 1: At first, the Official Website of Cygwin to be browsed. There is a link for downloading Cygwin on the machine. Click on it for downloading the .exe file.

Downloading-Cygwin

 

Step 2: Then the installation is to be started. Then the only task is to click on Next every time. No need to change anything.

Start-installing-Cygwin

 

Step 3: Click on Next to proceed.

Click-on-next

 

Step 4: Click on Next to proceed. No need to change anything.

Click-on-next-to-proceed

 

Step 5: Click on Next to proceed. You don’t have to change anything

Select-local-package-directory

 

Step 6: Click on Next to proceed. It is advisable not to change anything.

Select-your-internet-connection

 

Step 7: Now, it will start installing and wait for some time to install.

Wait-for-installation-process-to-complete

 

Step 8: Then it will open a window to choose the packages needed along with Cygwin. Git is to be searched in the search bar. Then the Devel part should be expanded. Click on the first option. Then wait for some time. It will auto close the window after downloading.

Click-on-the-first-option

 

Step 9: Click on the Next button to proceed with the process.

Click-on-the-Next-button

 

Step 10: Wait for some time. According to the packages needed it will install and configure itself. It will take lots of time.

Wait-for-some-time-to-complete-the-process

 

Step 11: At last, click on Finish to complete the installation.

click-on-Finish-to-complete-the-installation

 

Step 12: Then open the terminal installed in the machine for Cygwin. There this command should be run. This command will display which Git version has been installed in the machine according to the configuration of a particular one. So, the installation is successful.

git –version

Check-the-version-of-git

 


Last Updated : 06 May, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads