1. Update .git/config to point to the new upstream repository
Edit .git/config and you will see a section like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = g...@github.com:gladiusjs/core.git
Make sure the url is set to g...@github.com:gladiusjs/core.git.
2. Remove the old math submodule
Edit .gitmodules and remove the section for the math module:
[submodule "external/gladius.math"]
path = external/gladius.math
url = git://
github.com/alankligman/gladius.math.git
Then edit .git/config and remove the section in there as well:
[submodule "external/gladius.math"]
url = git://
github.com/alankligman/gladius.math.git
Finally, run:
git rm --cached external/gladius.math
and you can safely remove external/gladius.math from your working
copy.