What is Git
Git – version control system
Git is a distributed version control system that makes it easier to work on developing applications, websites, and other tools in groups. The system keeps track of all changes made to files, and also allows you to restore them to any previous version. With Git, you can make code changes while maintaining independence Git runs locally, on your device (not in the cloud).
Workflow optimization with Git
When working on a complex project in which a team of programmers participates, special attention and care for the progress of work are required. Using the version control system, it is possible to edit the same file without overwriting it – i.e. without losing the effects of work. In Git, we are able to check the status of work and if someone is in the process of editing a given file, the rest of the team has such information.
It is also possible to create separate branches (branches), to which only we have access.
What’s all this for?
By writing code and making changes to it, at some point you can verify that something went wrong. You see an error in the code, but you are not sure at what stage it appeared. It is Git that allows you to preview all the changes made and easily find the unwanted phenomenon.