What is Git ?
Don't confuse the two! No, Git and GitHub are not the same thing.
"Git is a version management tool whereas GitHub is an online platform that allows, among other things, to host Git repositories.
Not quite clear yet? Let's dig deeper!
Git is a version management software for developers, which allows to store a set of files by keeping the chronology of all the modifications that have been made on them. This allows developers to keep track of what has been done and to go back to a previous phase if they decide to revert some of the changes. This makes it much easier to correct errors that may occur during development. Developers can coordinate their workflow actions, facilitating non-linear development and working conditions.
Also, being able to see all the changes in each release helps team members tremendously in keeping track of what is finished or what still needs to be done. Git uses a system of "pushing" and "pulling" changes to or from installations on other computers. This is called a "distributed version control system" and it allows multiple developers to work on the same project.
It is also the most used version manager in the world with 12 million users. Any self-respecting developer must know and master the basics of Git! Regarding its use, Git is multi-platform (Mac, Linux, Windows) and it has two modes of operation: the Terminal (by command line) or the Graphical Interface.
And GitHub then?
Github is an online service that allows, among other things, to host code repositories in a cloud storage so that several developers can work on the same project and see each other's modifications in real time. It facilitates collaboration using Git. GitHub repositories are publicly available. Developers around the world can interact and contribute to each other's code.
In the language of version control systems, the copy of a project's entire set of files and their version located on the central server is called a repository. Git also calls it a repository.
This makes Github a networking site for web professionals. For open projects, it is free, but it is possible to make your projects private with a paid plan.
It offers organization and project management services. You can assign tasks to people or groups, set permissions, collaborator roles and use comments.
The great services that Github offers are: sharing source code with other developers, reporting and managing bugs via issues, sharing pieces of code, etc.
To summarize the difference between the two:
- Git is a local software that allows developers to instantly save their projects over time.
- GitHub is a web-based platform that integrates Git's version control features so they can be used collaboratively. It also includes project and team management features, as well as networking and social coding capabilities.
- Git is open source (free to use, modify and distribute), while GitHub is owned by Microsoft.
To recap: Git is a version control software while GitHub is an online Git repository hosting service that acts as a central server for these repositories.
If you're learning, or planning to learn the developer trade, you should know the basics of Git and GitHub as soon as you get the chance. In addition to making your life easier, your future employer will probably ask you to show your GitHub profile during your job interview.
https://www.mvstudio.becodeur-pro.fr/difference-entre-git-et-github/#:~:text=Git is a tool for,hosting Git repositories.