How to create git submodule from repository subdirectory Davide Coppola February 18, 2015 4 Comments This tutorial explains how to extract a subdirectory of a git repository and how to make it a submodule or an independent git repository in 8 easy steps. Git create, directory, git, howto, project, repo, repository, subdirectory, subfolder, submodule, tutorial