--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py Tue Apr 04 17:26:54 2023 +0200 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitBranchPushDialog.py Wed Apr 05 11:58:22 2023 +0200 @@ -43,6 +43,10 @@ self.branchComboBox.addItem("") else: self.branchComboBox.addItem(self.__allBranches) + if "main" in branches: + if not delete: + self.branchComboBox.addItem("main") + branches.remove("main") if "master" in branches: if not delete: self.branchComboBox.addItem("master")