Working on a project in Git offers a lot of freedom: it doesn’t matter if you are solely responsible for development or if you work as part of a large team responsible for different aspects of the project. The use of Git Branches allows you to work on solving problems and trying new approaches. If something should go wrong, changes to your Git Branch will not affect the main branch, also known as master. After creating the independent development branch with Git Branch command, switch between branches with Git Checkout.
Once the changes are made, use Git Merge to bring the different branches together. Git Merge joins two branches into one andensure that changes are saved. In most cases, the different lines of development are reintegrated into the main branch.