Set Merge Restrictions on the
main
Branch
By default, the main
branch is accessible to all
project users and anyone can make changes to its files. To restrict changes and who can push
commits to it, you may want to set restrictions on it to allow branch merges only after they
are approved.