public boolean isEmpty() {
    return branches.isEmpty();
  }
@Test
  public void isEmpty() {
    assertThat(underTest.isEmpty()).isFalse();
    assertThat(new ProjectBranches(Collections.emptyList()).isEmpty()).isTrue();
    assertThat(new ProjectBranches(Collections.emptyList()).defaultBranchName()).isEqualTo("main");
  }