Submodules allow us to keep a Git repository as a subdirectory of another Git repository. This lets us clone another repository into your project and keep our commits separate.