Monday, March 20, 2017

Do We Really Need Git OR Version Controlling ?

If you are onto software development, you may have heard lot about GIT and some words like Merge, Branch, Commit, It's my branch ! like things. As I belive theoritically learning git concepts is difficult. I will try to explain as much as possible with practical situations.

git vs version controlling ?

Java is a programming language. Likewise git is a version controlling system. There are different other programming languages than Java like PHP, JavaScript etc. Similarly there are other version controlling systems other than git like SVN, Apache Subversion, Rational Clear Case etc.

Why git ?

Git is one of most popular version controlling system or VCS. You may have heard of github.com. It's built upon git concepts. Git is used from startup to larger enterprises and from home to universities where somekind of software development process is happening.

As a university student, How git will help me ?

Let's move on. I have three friends. Movinda, Supun and Philips. We are working on a modern single page website. I'm designing the navigation bar and header. Movinda designs the products section. Philips designs the about us section and Supun designs the contact us form. 

As you know, In a single page website all sections are bundled together in a single HTML file. Therefore all of us must do our work in a single file.

Traditional approaches

  • Wait each one to complete their work. Supun start after Movinda finishes. TIME CONSUMING. One must depend on another.
  • Do parallely in our own computers and then copy and paste our code to a final document - DIFFICULT TO TEST, CODE BECOMES UNREADABLE

Solution !

  • We must be able to work parallaly in the same file.
  • We must be able to undo any changes done
  • Copying and pasting of each members code must happen automatically.
  • Any member must be able to see what other people have done to the page without intefering his or her own work
  • System must acknowledges each ones contribution to the project (Without commenting - Edited by Lanil like that)
That't where the git comes to the game. Git can make your life easy !. I will write more on Git. Keep in touch.

No comments:

Post a Comment