In svn you can link a repository to any folder in another svn repository. I\'m wondering if there is a similar feature for git? Basically I want a git submodule inside my
Usually when you're trying to extract a subfolder of some other project, that subfolder should be a separate project in the first place, and both parent projects should be referring to it.
You can extract such a subproject's history using a tool like git subtree. Then you can link the subtree back into your project using either git submodule or git subtree, whichever you prefer.