I have a git repo locally. I want to use some files from other remote repos but I don't want to manually copy the files on to my repo locally or check it into my own repo. Is there any way I can just clone those files but they'll still be managed by the other repos and I can call git pull to pull any updates to only those files?
The idea is similar to a package manager but instead of with packages it's with git repo files. If I can't do this with files, what's the solution to manage dependent github repos.
Thanks,