Git and Github in a Nutshell!!!

Image for post
Image for post

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

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.

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.

Image for post
Image for post

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.

Image for post
Image for post

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.

Image for post
Image for post

Written by

Student Devloper | Microsoft Student Partner | Technophile | Bennett Open Source Society |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store