This video describes how to use git submodules for a C# Visual Studio project, the example focused on a plugin for Microsoft Dynamics 365 and Common Data Service, but the principles displayed are of course relevant to other project and repository types.
Full article available at: https://jonasr.app/vs-git-subm
source