On, how to download and install Git into your computer —
In this Article you will learn to install Git on your computer.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. In simple words Git helps up to keep record of our application / code ..etc
Downloading and Installing Git
- To install Git on your computer, go to https://git-scm.com/downloads to download the Git installer for your specific computing platform.
- Then, follow the installation steps as you install Git using the installer.
- Installing some of the GUI tools like GitHub Desktop will also install Git on your computer.
- On a Mac, setting up XCode command-line tools also will set up Git on your computer.
- You can choose any of the methods that is most suitable and convenient for you.
Some Global Configuration for Git
- Open a cmd window or terminal(in case of Mac) on your computer.
- To make sure that Git is installed and available on the command line, type the following at the command prompt:
git –version
now we need to config ourselves as user to use git
To configure your user name , type the following at the prompt:
git config — global user.name “Your Name”
To configure your user name , type the following at the prompt:
git config — global user.email <your email address>
To check your default Git global configuration, Type the following at the prompt:
git config –list
Conclusions
At the end of this ,you should have Git available on the command-line of your computer and most probably ready to use !!
Click the link below for better Visualization !!