Ok, revisiting this question, but in a different context.
I used git to install something off github. Now I want to create a plugin for it which should have its own repository. I don't want to fork the whole project but the code for my plugin is living inside the bigger project. What's the best practice for this?