Git Tutorials

Submodules

Learn Git: Git Submodule

Advanced Git Tutorial

What is a submodule in Git?

Watch this advanced Git tutorial video to learn about a Git submodule and how you can use submodules in Git to benefit your project.

A Git submodule is like a repository inside of another Git repository, or a child repository of one parent repository.

Learn how to add a Git submodule to your project and how to pull changes to your Git submodule so they are reflected in your main project by pointing to a specific commit. Plus, see an example of how to update and remove a Git submodule.