fetchgit: Implement option to not check out submodules.
Merge pull request #2010 from ambrop72/fetchgit-no-submodules

fetchgit: Implement option to not check out submodules.