I'm trying to create a new repository and add two projects to it. One of the projects was already under Git source control so I copied the project and removed the .git folder and deleted the repository I had for it. When I add the projects to my repository the one that wasn't under source control gets added fine but the other one gets added as a submodule (green folder on GitHub).
I tried removing the submodule by doing git rm --cached
on it, but it's still there and I can't add the files of the project to the repository.