You can
git remote set-url origin git://new.url.here
(see git help remote) or you can just edit .git/config and change the URLs there. You're not in any danger of losing history unless you do something very silly (and if you're worried, just make a copy of your repo, since your repo is your history.)
http://stackoverflow.com/questions/2432764/how-to-change-a-remote-repository-uri-using-git
git remote set-url origin git://new.url.here
(see git help remote) or you can just edit .git/config and change the URLs there. You're not in any danger of losing history unless you do something very silly (and if you're worried, just make a copy of your repo, since your repo is your history.)
http://stackoverflow.com/questions/2432764/how-to-change-a-remote-repository-uri-using-git