public @Nullable GitLocalBranch findLocalBranch(@NotNull String name) {
    GitLocalBranch branch = new GitLocalBranch(name);
    return myLocalBranches.containsKey(branch) ? branch : null;
  }
public @Nullable GitLocalBranch findLocalBranch(@NotNull String name)