                  label=branch,
                  command=lambda b=branch: self._switch_branch(b))
          return True
  
      @staticmethod
      def _get_branches():
          """ Get the available github branches
  
          Returns
          -------
          str
 
</s> remove                 command=lambda b=branch: self._switch_branch(b))
 </s> add                 command=lambda b=branch: self._switch_branch(b))  # type:ignore </s> remove         str
 </s> add         str or ``None`` </s> remove         list
 </s> add         list[str] </s> remove     @staticmethod
    def _switch_branch(branch):
 </s> add     @classmethod
    def _switch_branch(cls, branch: str) -> None: </s> remove     def _build_branches_menu(self):
 </s> add     def _build_branches_menu(self) -> bool:
    @classmethod
    def _get_branches(cls) -> T.Optional[str]:
                  label=branch,
                  command=lambda b=branch: self._switch_branch(b))
          return True
  
    @classmethod
    def _get_branches(cls) -> T.Optional[str]:
    @classmethod
    def _get_branches(cls) -> T.Optional[str]:
          """ Get the available github branches
  
          Returns
          -------
          str
keep keep keep keep replace replace keep keep keep keep keep
 locales: Add GUI menu translations 
lib/gui/menu.py