Git is a version control system.
Git helps you keep track of code changes.
Git is used to collaborate on code.
$ git --version
git version 2.46.0.windows.1
Git and GitHub are different things.
In this tutorial you will understand what Git is and how to use it on the remote repository platforms, like GitHub.
Git is a popular version control system. It was created by Linus Torvalds in 2005, and has been maintained by Junio Hamano since then.
It is used for:
- Tracking code changes
- Tracking who made changes
- Coding collaboration
- Over 70% of developers use Git!
- Developers can work together from anywhere in the world.
- Developers can see the full history of the project.
- Developers can revert to earlier versions of a project.
- Git is not the same as GitHub.
- GitHub makes tools that use Git.
- GitHub is the largest host of source code in the world, and has been owned by Microsoft since 2018.
In this tutorial, we will focus on using Git with GitHub.