How do I replace a git submodule with another repo?

How do I replace a git submodule with a different git repo? Specifically, I have a submodule: located at ./ExternalFrameworks/TestFramework that points to a git repo git@github.com:userA/TestFram...