I have 2 remotes: origin and secondary, and I need to checkout 3 folders from the secondary remote in my local working directory. (Let's say common/one, common/two and common/three.)
I do it by using that:
git fetch secondary master
git checkout secondary/master -- common/one common/two common/three
It works for added and modified files, but not for removed ones. And I don't know what command I need to write to make it so.