The git submodule cheat sheet

A git submodule, in its essence, is a reference to another git repository. It’s a great
way to include vendor code (like plugins or themes) into your own code base. This post
contains some examples on how to use git submodules effectively.

Add a submodule

You need to know the remote git repository url and where you want to place that it in your repository.