Gitlab protected branches. Protected branch gitlab. bitbucket repository settings. merging is blocked the base branch restricts merging to authorized users. learn more about protected branches..