Git is a commonly used version control system invented by Linus Torvalds. It is a distributed type of version control which enables more than one developer to work on the same project simultaneously.
It helps to maintain versions of source code so that if anything goes wrong, you can always revert back to the working version of your source code. To use Git, you will need a repository that will store your source code and make it available to all who are working on it.
Git uses the GitHub as a hosting service for Git repositories, and so first of all, you will need a GitHub account so that you will be able to create a repository to store your source code. There are two types of repository:
- Public repository: You can host public repositories on GitHub for free. These repositories will be accessible to all, so if you are going to save your important source code...