Deploy Drupal sites to remote server with GIT and Capistrano

Follow the instructions here for creating users on source server:

http://mattrude.com/2009/07/creating-a-secure-git-repository-server/

(ignore the rest of instructions on that blog post)

Capistrano set up will then be the same as http://socialsynergyweb.org/network/blog/building-capistrano-recipe-rail...

example:

Running git commands, etc

capfile would run http://en.wikipedia.org/wiki/Secure_copy command from destination to secure copy over db dump.