@Override
  @Nullable
  public String getSwitchedBranch(@NotNull VirtualFile file) {
    if (!file.isInLocalFileSystem()) return null;
    return ReadAction.compute(() -> {
      synchronized (myDataLock) {
        return myComposite.getSwitchedFileHolder().getBranchForFile(file);
      }
    });
  }
@Override
  @Nullable
  public String getSwitchedBranch(@NotNull VirtualFile file)