What is git?

Git is a most popular open source version control system. It's been used by most teams and individual developers. Git is very powerful in functionality, performance, security and flexibility.

If you are working for any company and not using any version control system you accidently deleted your code what would happen? What if you introduced a bug and do not know what change cause the bug?

Git helps resolve many of such issues that developer often come across. Once you know the git you will be in love with it however dont tell your mom about this. Lol !!

What is version control system?

Version control systems are a software tools which allows to track changes to source code over time. Version control keep track of every change made to a source code.

If any mistakes are made changes can be easily reverted back. Each modification refers to a commit it contains information about change made to a code and an author who made those changes.

What are the benefits of using a version control?

Followings are some of the benefits of using a version control system:

  • It gives you complete change list of individual file
  • branching and merging
  • ability to trace a change
  • multiple developers can work on the same code

How to install git on ubuntu/linux?

To install git on linux operating system open linux terminal window and run following commands:

sudo apt-get update
sudo apt-get install git

How to install git on Mac?

To install git on mac operating system follow the steps below:

  • Download the latest Git for Mac installer..
  • Double click on downloaded installed file
  • Follow the setup wizard screen and finish the installation process

Once git is installed open your mac terminal window and check the git version installed:

git --version

How to install git on Windows?

To install git on windows machine follow the steps below:

  • Download the latest Git for Windows installer..
  • Double click on downloaded installed file
  • Follow the setup wizard screen and finish the installation process

Once installation is done open your windows terminal and run following command to check the version:

git --version

Related Posts