Configure Bitbucket branch permissions to prevent unauthorized users from pushing directly to specific branches.