There are people who think that Git and GitHub are the same thing and use the terms interchangeably. Some might even think Git is short for GitHub. It’s probably because of similarity in their names.

 

Git and GitHub are NOT similar.

 

In a simple term, Git is a tool and GitHub is a website (which is more like a community).

In a more technical term, 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, while GitHub is a web-based Git repository hosting service, which offers all the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features.

Git was created by Linus Torvalds, creator of Linux kernel.

Linus Torvald

Linus Torvalds was the designer of the open-source operating system Linux.

 

What is Git?

Git is a tool for version control which is primarily used by programmers. It runs with the command line on your local machine and allows you to keep track of your files and modifications made to those files in something called a ‘Repository’ or ‘Repo’. You can use it alone as well as with a team of people who are working on the same project. It’s useful in a team environment because everyone can work independently on those files, merge their changes together and there’s a permanent record of who made what change.

 

What is GitHub?

GitHub is a website that allows you to upload your Git repositories online.

Why would you want to host your files on GitHub?

Because it provides a backup of your files and gives you a visual interface for navigating your repositories. It provides other people a way to navigate your repositories. It also makes repo collaboration easy. GitHub is more common if you are using Git.

 

This example will make you clearer about what Git and GitHub are.

Consider you are a professional photographer and you use Adobe Photoshop to process your photos. You take the photos, edit them in Photoshop and when it’s ready, you upload them to your Facebook page.

In this context, Git is Adobe Photoshop and GitHub is Facebook.

Facebook Comments

1158total visits,1visits today

Samikshya Gautam

Subscribe to Samikshya's Blog

Join my mailing list to receive the latest updates and notification.

You have successfully subscribed. Check your mail!