Working With Git Submodules
The other day, I was working on a project that had a Git submodule. Initially, I found it a bit tricky to make it work, so I decided to create a short tutorial on this.
What is a Git submodule Essentially, a Git submodule is a way to include one Git repository inside another Git repository. This creates a nested structure.
So, in simple words, a Git submodule is like a mini Git repository that you can include in your main Git repository to use and update external code or resources without actually putting all of their files directly in your project.