/** * @param string $branch_name * @return Branch */ public function unprotectBranch($branch_name) { $branch = new Branch($this, $branch_name); $branch->setClient($this->getClient()); return $branch->unprotect(); }