I use currently use Heroku for rails hosting which uses a Git repository for deployment. I also have a hosted Git repository that I use as my main source control for history/ba
Add them both as remotes:
git remote add origin ssh://myserver.example.com/var/git/myapp.git
git remote add hosted ssh://myotherserver.example.com/var/git/myapp.git
[1] http://toolmantim.com/thoughts/setting_up_a_new_remote_git_repository
[2] http://www.kernel.org/pub/software/scm/git/docs/git-remote.html