There are many guides in Git, but I have not seen many that explain how developers actually use it on a daily basis. I understand the basics of push, pull, commit, etc., but I don’t understand when to use branches.
In local repo:
Should you create a new branch for each set of changes or work normally with the main branch?
Should you create a new clone for each branch?
When do you merge your local branches with the local master?
Thanks.
source
share