Something of a response to Jen's blog post Managing Backdrop CMS config files in Git
How do you all deal with combining code from projects that have their own repositories with your own?
I use GitHub for some projects but also a private git repository hosted elsewhere. You can still use the same git repository as an upstream remote and pull in changes if there are changes. And then your fork already has your changes that you need to resolve with any potential upstream conflicts.
It depends on what works best for you. If you have patches you want to maintain you could also store them in the site project. And apply the patches with each module update.
And the fork is the way to submit bug fixes in github too, isn't it? I need to look into that more. That's a good point.
One thing I meant was where the code lives literally - like, if my repo looks like
Would you clone some contrib module right into that directory? Or does it work better to keep it separate? It seems to maybe technically work, I just wonder what experience has taught people about it.