Posted in Command Line Git Submodule Binny V A July 25, 2026 Leave a Comment on Git Submodule Add a sub folder as a submodule in a git repository… git submodule add REMOTE_REPO_URL PATH_TO_FOLDER Example… git submodule add "git@github.com:binnyva/iframe.git" "./Libraries/Iframe" Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.