Skip to content

Instantly share code, notes, and snippets.

View joaolfern's full-sized avatar

João Fernandes joaolfern

  • FIT - Flextronics Institute of Technology
  • Sorocaba - SP, Brasil
  • 17:38 (UTC -03:00)
  • LinkedIn in/joaolfern
View GitHub Profile
@gitaarik
gitaarik / git_submodules.md
Last active March 17, 2026 20:08
Git Submodules basic explanation

Git Submodules - Basic Explanation

Why submodules?

In Git you can add a submodule to a repository. This is basically a sub-repository embedded in your main repository. This can be very useful. A couple of usecases of submodules:

  • Separate big codebases into multiple repositories.