Steps For Installing Git on Ubuntu 18.04 LTS

(143 Views)

What is Git?

Git is a SCM (Source Control Management System) software that is used for Version Control. It is open source, so its free.
Now, let's understand what is Version Control.
Version Control is the management of changes to documents, computer programs, large websites and other collection of information.

Git allows a people in a team to work together, all using the same files. And it helps the team cope with the confusion that tends to happen when multiple people are editing the same files.

In this post you will see steps for Installing Git on Linux Ubuntu 18.04 LTS.

You can also view all the configuration that have been done by following commands:

git config --list

Creating first repository and Committing code using git

Creating first repository :

mkdir testing
cd testing
git init

In the above code, we have created a new folder "testing" and initialized git in "testing" folder using git init command. Inside "testing" folder you should see a .git directory created which indicates that the git is initialized.