To understand GitHub properly, you must first have an understanding of Git. Git is an open-source version control system that was started by Linus Trovalds – the same person who created Linux.
So, Git is a ‘version control system’, but what does that mean? And why is it used?
Whenever developers create something(a website, an application to name a few), they are constantly introducing changes to the code. It is often seen that in between all these changes they end up doing some unintentional modifications in the code which gives rise to errors and tracking such errors consumes a lot of time.
Another problem that developers often face is collaboration for projects. Most of the times it’s not possible for all the team members to sit together and do all the work and exchanging codes through pen-drive or e-mails is quite a tedious task to do.
Wouldn’t it be great if we had our previous version of the code which was free of errors saved somewhere? And if we could contribute to a project by just sitting in our respective homes? Obviously Yes! And the solution to all these problems is the use of version control system.
In a Version Control System, all the changes that we make in our code get saved in the version database. And we can track all the changes, each such change in Git is termed as a ‘version’.
Where Git is a version control system, GitHub is a platform for sharing and collaboration. It’s a Hub where developers can store their projects and network with like-minded people.
In Version Control System our main copy of project is stored in the Central Server. Based upon the access to this central copy and its usage in our local computer Version Control System(VCS) is divided into 2 types:
With the advent of GitHub, most of the problems faced by developers have been wiped off. Its social networking aspect is something that makes it unique and powerful. Each user on GitHub has their own profile, which acts as a resume, showing your past work and contributions to other projects via pull requests. Most companies now days often ask for person’s GitHub account. There are a lot of experts ready to share knowledge out there and GitHub provides a good access to collaborate and learn from them and helps in giving your projects a greater height.
The use of version control system must be encouraged for projects. GitHub is not just for developers, but it is for every person or organization who wants to keep a record of changes made to certain documents.
SHARE YOUR THOUGHTS WITH US!