pub fn stage_paths(git_root: &Path, diff: &str) -> Result<()>
Stage only the files that actually exist on disk for the given diff.