boolean (@NotNull GitRepository repo, @NotNull GitPushTarget target) { final String targetBranch = target.getBranch().getNameForRemoteOperations(); return !mySharedSettings.isBranchProtected(targetBranch); }