Wednesday, May 26, 2021

What is Git & GitHub


 

Introduction: Git, basically Git is Version Control system. This is the term that one would use to describe Git, but for a newbie like me this got me more questions than answers 🤔. Okay, to explain in basic terms let’s think of a scenario. Suppose, you are working on a Project, say Web Designing, with multiple components, modifying each component and finally running the project. This time you ran your project and see the component are out of order. Since you have made multiple changes you are unable to identify what exactly went wrong. Hence, the sane thing you do is go back to previous working component. This is called versioning.

Some people do it by locally saving the project each time it is modified with the version & Date-Time in different directories. While this can work, but there are dangers of losing this local back-up(nightmare!).


So, what is version control? In simple terms we can describe version control as a system to record and manage changes made to files and folders and it also to track changes made overtime, including adding, deleting, modifying files.


So, Git in a nutshell is distributed version control system, This means every team member has got a local store that contains all the source code of a project, including the complete history of all changes of all files. This store is called a ‘repository’ and it is located in a hidden folder ‘.git’ on the local file system.

 

"Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency."

Now that we know what is Git is, Let us move forward and know what is GitHub.

To explain it in layman's terms, GitHub can be defined as a web server that allows Git to be more powerful. With GitHub you can do team collaborations, it has inbuilt extensions hence more powerful features and amazingly the also have their own application. Through the combination of Git + GitHub = Social Coding💗
Through this combination you are able to work with anyone anywhere and save your progress as yours, now that’s the relation of Git and GitHub.

 

Stay Tuned for deeper dive into Git!

No comments:

Post a Comment