git archive --format zip --output ../g.zip 3.4.2
git archive --format=tar \ --remote=ssh://remote_server/remote_repository master | tar -xf -http://stackoverflow.com/questions/160608/do-a-git-export-like-svn-export
git archive --format=tar \ --remote=ssh://remote_server/remote_repository master | tar -xf -