git clone --recursive <repo-url>git submodule update --init --recursiveSubmodules vs Keeping it in the same repository
- Each submodule has its own separate history
- Can be reused across different projects
- Different access control
- Use one repository when it’s really one product
- Use submodules when it’s truly a separate project that just happens to be embedded or depended on