    LabelControl *versionLbl;
    LabelControl *lastUpdateLbl;
    ButtonControl *updateBtn;
  
    Params params;
    QFileSystemWatcher *fs_watch;
  };
 
</s> remove       r = [
        run(["git", "reset", "--hard", "@{u}"], OVERLAY_MERGED, low_priority=True),
        run(["git", "clean", "-xdf"], OVERLAY_MERGED, low_priority=True ),
        run(["git", "submodule", "init"], OVERLAY_MERGED, low_priority=True),
        run(["git", "submodule", "update"], OVERLAY_MERGED, low_priority=True),
 </s> add       cmds = [
        ["git", "reset", "--hard", "@{u}"],
        ["git", "clean", "-xdf"],
        ["git", "submodule", "init"],
        ["git", "submodule", "update"], </s> remove   new_version: bool = cur_hash != upstream_hash
 </s> add   new_version = cur_hash != upstream_hash
  ButtonControl *branchSwitcherBtn;
    LabelControl *versionLbl;
    LabelControl *lastUpdateLbl;
    ButtonControl *updateBtn;
  ButtonControl *branchSwitcherBtn;
  
    Params params;
    QFileSystemWatcher *fs_watch;
  };
keep keep add keep keep keep keep
 updated: add branch switching (#25200)

* switch param

* add to ui

* fix that

* fetch for new branch

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/offroad/settings.h