code: def reset(self) -> None:
          
          with self.lock:
              self.git.checkout('-f', self.main_branch)
              self._delete_tmp_branch()
docs: Reset the state of the repo, checking out the main branch and
          discarding
          local changes (-f option).