Last Updated: December 6, 2025
Managing dependencies in software projects can be challenging, especially when those dependencies are themselves projects that evolve over time. Enter Git submodules: a powerful feature that allows you to include and manage external repositories as part of your own project.
Submodules help maintain a clean project structure while enabling you to track specific commits of those external repositories.
In this chapter, we will demystify Git submodules, explore their structure, and provide practical insights into their use cases. By the end, you’ll have a clear understanding of how to implement and manage submodules effectively, which will greatly enhance your development workflow.