Assuming you’ve already been working on your project locally and there’s no origin repo that you cloned from, rather than zip it and then unzip it on your server, create an empty repo on the server and push to it.
$ cd my_local_repo
$ git remote add origin remote_server:/remote/path/on/server.git
$ git push origin master

Subdomained sites with Passenger - Just click the add button another time, add the same project folder and add the subdomain to the address. I’ve had problems with instant recognition, so sometime it helps to run sudo apachectl graceful so changes get picked up.
$ sudo gem install passenger
$ sudo passenger-install-apache2-module
and then…
--------------------------------------------
The Apache 2 module was successfully installed.
Please edit your Apache configuration file, and add these lines:
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-2.0.3
PassengerRuby /usr/local/bin/ruby
…or something like that
$ sudo vim /etc/apache2/httpd.conf
…or mate or nano, paste the code at the bottom…
$ sudo apachectl graceful
…then get the Mac OS X Preference Pane from the Fingertips blog…
$ curl -O http://www.fngtps.com/files/2/2008/06/PassengerPrefPane-1.0.zip
…unzip and install it, add your apps. presto!
cat file | pbcopy