What Is GIT ?
Git is the most popular Version Control System in the world. A version control system records the changes made to our code over time in a special database called repository. We can look at our project history and see who has made what changes, when and why, and if we screw something up we can easily revert our project back to an earlier state.
Without a version control system, we have to constantly store copies of the entire project in various folders. This is very slow and doesn't scale at all. Especially, if multiple people have to work on the same project, you have to constantly toss around the latest code via email or some other mechanisms and then manually merge the changes.
So, in a nutshell, with a version control system, we can track our project history and work together.
Now, version control system fall into two categories :
Centralized and Distributed
In a Centralized system, all team members connect to a central server to get the latest copy of the code and to share their changes with others. Subversion and Microsoft Team Foundation server are examples of centralized version control systems.
The problem with the centralized architecture is the single point of failure. If the server goes offline, we cannot collaborate or save snapshots of our project. So, we have to wait until the server comes back online.
In Distributed system, we don't have these problems. Every team member has a copy of the project with it's history on their machine. So, we can save snapshots of our project locally on our machine. If the central system is offline, we can synchronize our work directly with others. Git and Mercurial are examples of distributed version control systems.
Why Is GIT So Popular ?
Out of all these, Git is the most popular version control system in the world because it is free, open source, super fast, and scalable. Operations like branching and merging are slow and painful in other version control systems like subversion and TFS but they are very fast in Git.
So, Git is almost everywhere. More than 90% of software projects in the world use Git. That's why almost every job description for a software developer mentions Git. So, if you are looking for a job as a software developer, Git is one of the skills, you must have on your resume. You should know it inside out, you should know how it works and how to use it to track your project history and collaborate with others effectively.
Ever heard of React? Click here to know Why is React so Popular?
0 Comments
Please do not enter any spam link in the comment box.
Emoji