git remote set-url origin ssh://[new_host]/[git_path]
You can also edit manually the config file in the .git directory:
[remote "origin"]
url = ssh://git@compukitty.net/store/git/docs.git
fetch = +refs/heads/*:refs/remotes/origin/*