Git is a version control system. Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. A version control automatically tracks every minute change in your project and allows us to revert back to a previous version no matter how many times you changed your files.
Git also allows people to work together on the same project at the same time without disturbing each other’s files. Collaboration is easier with Git. Team members can work on different features and easily merge changes.
GitHub is a hosting service for Git repositories. Git is the tool, GitHub is the service for projects that use Git.
Github allows you to:
- Share your repositories with others.
- Access other user’s repositories.
- Store remote copies of your repositories as a backup of your local copies.
GitHub is a social networking site for developers. You can look at other people’s code, identify issues with their code and even propose changes. This also helps you in improving your code. On a lighter note, it is a great place to show off your projects and get noticed by potential recruiters.