pub async fn git_discard(repo: &Path, paths: &[String]) -> Result<(), GitError>
Discard working-tree changes to the listed paths (equivalent to git checkout -- <paths>).
paths
git checkout -- <paths>