Whenever a developer wishes to start working on something, a new branch is created, to ensure that the master branch always has a production-quality code.
It is used to collaborate with several people on a project and track progress throughout the project. Git is a version control system for monitoring the changes in computer files.