Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)
edited by
I have recently added a new project to Git using Eclipse, but do not see the project appear in my GitHub account.

Why do they have the same account information and different repositories?

Isn't Git and GitHub the same thing?

2 Answers

+1 vote
by (27.5k points)

According to the official doc of Git, "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"

In other words, git is a distributed peer-peer version control system. In Git, each node in the network is a peer, storing entire repositories which can also act as a multi-node distributed back-ups. Note that there is no specific concept of a central server, although nodes can be head-less or 'bare', taking on a role similar to the central server in centralized version control systems.

On the other hand according to the official doc, "GitHub is a web-based Git repository hosting service, which offers all of the distributed revision control and source code management (SCM) functionality of Git as well as adding its own features."

Also, it can be said that GitHub provides access control and several collaboration features such as wikis, task management, and bug tracking and feature requests for every project.

Github allows you to:

  • Share your repositories with others.
  • Access other user's repositories.
  • Store remote copies of your repositories (GitHub servers) as a backup of the local copies.

I also have to put it out there that you do not need GitHub to use Git. If you want detailed differences between Git and GitHub, then you can visit Git Vs Github.

0 votes
by (29.3k points)

Git: It is a version control system, a tool to manage your source code history.

GitHub: It is a hosting service for Git repositories.

They are not the same: Git is the tool. On the other hand, GitHub is the service for projects that use Git.


 

Related questions

+7 votes
1 answer
0 votes
1 answer

Browse Categories

...