What I would like to do is to checkout a single file or a set of files with a common name part like this
git checkout myBranch */myFile.md and
git checkout myBranch */myFile.md
<
Windows git bash with xargs
git difftool myBranch --name-only *.java | xargs git checkout myBranch