public static @NotNull Collection<GitDiffChange> getStagedChanges(@NotNull Project project, @NotNull VirtualFile root) throws VcsException {
    return getLocalChanges(project, root, null, "--cached", "-M");
  }
public static @NotNull Collection<GitDiffChange> getStagedChanges(@NotNull Project project, @NotNull VirtualFile root)