Use:
git remote remove origin
if the repo uses submodules, also disconnect them (optional)
git submodule update --init --recursive
git submodule foreach --recursive 'git remote | xargs -I{} git remote remove {}'
Another option would be to make a mirror, then clone from your mirror.