Explain noob how deploy with 'capistrano' through :git

I have vpn server (ubuntu10 + .rvm + ror + nginx + passenger +
unicorn).

Questions:
1. How to deploy in first time with capistrano through git, if I don't
have project on the server (just empty project folder)?
2. Should I have project on my local machine to deploy on the server
machine thought git?

And if you have working config/deploy.rb.
Please, post it here.
Thanks for help.

I have vpn server (ubuntu10 + .rvm + ror + nginx + passenger +
unicorn).

Questions:
1. How to deploy in first time with capistrano through git, if I don't
have project on the server (just empty project folder)?

There's a task for this, something like deploy:setup

2. Should I have project on my local machine to deploy on the server
machine thought git?

Well at the very least you'll need your app's deploy.rb. Capistrano won't touch your rails app yourself. On one app I work on the deploy scripts are in a separate repository - I could deploy the app without having the application itself checked out

Fred