DEV Community

Cover image for Git vs GitHub
Muhammad Shakir
Muhammad Shakir

Posted on

Git vs GitHub

What is Git?

Let's start with a straightforward definition of git that states that, GIT is a VERSION CONTROL SYSTEM that helps developers to manage, and keep track of their source code history.

What is Github?

GITHUB is a cloud-based hosting service that helps you to manage git repositories. So, taken all together: Git vs. GitHub. what’s the difference? Simply put, Git is a version control system that lets you manage and keep track of your source code history. GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git, then GitHub is designed to help you better manage them.

Difference between Git & Github.

Git.

GIT is Version Control System, that manages your code history.
GIT is installed and maintained in your Local System.
GIT is Software.
GIT is a command-line tool.
It creates a local repository to track changes locally rather than storing a centralized server.
GIT can work without GITHUB as other web-based GIT repositories are also available.

Github.

GITHUB is a cloud-based hosting service for managing your GIT repositories.
GITHUB is Cloud-Based.
GITHUB is a service.
GITHUB provides a graphical interface.
It is open-source which means code is stored in a centralized server and is accessible to everyone.
GITHUB is the most popular GIT server but there are other alternatives such as GitLab, BITBUCKET

Top comments (2)

Collapse
 
n3wt0n profile image
Davide 'CoderDave' Benvegnù

It is open-source which means code is stored in a centralized server and is accessible to everyone.

This is not true, GitHub is not Open-Source. And that is definitely not a definition of Open Source...

You probably wanted to say that GitHub is the main service used to store Open-Source repositories... But everything in that sentence is basically wrong

Collapse
 
shirobachi profile image
Shirobachi

Difference is same as between porn and PornHub ;p