What are the differences between Git and GitHub?
Differences between Git and GitHub
Let’s understand the differences between Git and GitHub. Although they are closely related, they serve different purposes.
Git
Git is a free and open-source distributed version control system(DVCS) designed to control changes in distributed software projects. Several project members work on the project from different locations. Each user has their own local repository. Team members can push and pull changes into and from the common repository. Git is suited for both small and large projects.
GitHub
GitHub is a cloud-based online platform that provides a collaborative environment for managing Git projects. It is a web-based hosting service for Git repositories.
GitHub is a web-based interface with additional tools like a source-code browser, in-line editing, GitHub Pages for hosting static websites, wikis, ticketing, etc. It is a code hosting platform that lets you and others work together on software projects from anywhere.
Git vs GitHub
Some of theĀ differences are as follows:
Git | GitHub |
---|---|
Git is a distributed version control system. It is mainly used by the teams to track and control changes to the project over time. | GitHub is a cloud-based online platform for hosting projects and repositories. It is mainly used to host and share projects online and allows collaboration. |
Git is open source. | GitHub was acquired by Microsoft. GitHub offers free and paid plans to its users. |
Git is mostly command-line. Users can issue git commands using the git command line. | GitHub is mostly web-based. Users can use GitHub via a web browser. |
Official Website:https://git-scm.com/ | Official Website: |