Added methods to protect and unprotect repo branches.