It also makes harder to merge unwanted code to the master branch. -- this statement is not accurate. Merging in Git is easy. What could keep your code outside the
master
branch is a policy enforced by Github, Gitlab, Bitbucket (or whatever software runs on the server that hosts the Git central repository) and is properly configured for team work. These are not part of Git itself, they are extra packages that wraps Git and provides a nice UI for administration, constraints, pull requests and code review. —
axiac just now