# Add them as submodules from Git Shell or remove their .git folders. I tried the latter, but don't know to do the former. How do I do that? [closed]

I'm trying to set up version control for my group, but I'm having trouble getting GitHub to work (I'm brand new to it, and version control in general). It keeps saying "Could not commit sub-modules: [project] Add them as sub-modules from Git Shell or remove their .git folders to add the as directory's instead." I tried the latter, but not the former (I don't know how to).

If it helps I"m working with Unity, and trying to do it like that. How do I make this work?

If not, take a look at this page. Instead of copying the submodule into your repository, you should be calling a git submodule add <remote>. Now the submodule will get added to your working directory and be kept track of within the parent repository.