If you are reading this you might have heard about Git and Github and at first glance it also might have seem to be very difficult or we could say confusing as well.
The jargon they use like push, pull, stash, commit, remote, master etc does nothing to help understand what it’s about. So here’s a layman’s description of all the cool things it helps a programmer achieve.
Git is a free, open-source version control software. It was created by Linus Torvalds in 2005. This tool is a version control system that was initially developed to work with several developers on a single project at the same time.
Version Control System
Now, What is a version control system?
Version control systems are a category of software tools that helps record changes to files by keeping a track of modifications done to the code. It makes collaboration among developers else along with various features.
Types of Version Control Systems:
- Local Version Control Systems
- Centralized Version Control Systems
- Distributed Version Control Systems
Coming back again to Git, so basically Git is a content tracker. Git can be used to store content and it is mostly used to store code because of the other features it provides. Real life programs are very large and many developers work on a single project at the same time. It becomes very difficult to share the work done and keep track on it. Also changes once made on a project file will not be reflected in other repositories(Folder). All these problems and difficulties are solved by Git.
So what is Github then?
GitHub is a for-profit company that offers a cloud-based Git repository hosting service. Essentially, it makes it a lot easier for individuals and teams to use Git for version control and collaboration.
GitHub’s interface is user-friendly enough so even novice coders can take advantage of Git. Without GitHub, using Git generally requires a bit more technical savvy and use of the command line. Additionally, anyone can sign up and host a public code repository for free, which makes GitHub especially popular with open-source projects.
There’s a lot more about this Git and Github and like initialization git creating repositories, branching, master, clone, commit, fork, and much more
Please tell me if you guys want me to write a separate article for that as well. For that I will telling from initializing git to branching with command line and code snippets.
If you like this article please clap for this article.