I’m new to Git and have a question about how to structure projects. Most of my development projects use a framework combined with application-specific files underneath. So, the directory structure for a project ends up looking something like this:
In short, my projects all have a consistent directory structure dictated by a framework, but a mix of both framework-specific files and project-specific files. Is there a strategy I can use in Git where I can have a framework project separate from the project projects, and then point those project projects at specific versions of the framework, thereby saving me from having the framework files duplicated across dozens of projects? Or does my directory structure make such an approach impossible?