How to integrate subproject into a main project. (ie code dependency)
sub-module creates a link to a repository (no file, no commit, no history is saved within the main project repository)
sub-tree integrates a subprojects repository within a subdirectory, optionally including the subproject’s entire history into the main project
Usage: Include the source code of a library as a subdirectory of your application.
Unlike submodules, subtrees do not: