I\'m trying to use git to deploy my local code in my remote server.
So here is what I\'ve done in my local folder mywebsite/ :
git init git add .
This will answer your question
http://www.saintsjd.com/2011/01/what-is-a-bare-git-repository/
In bare repository you don't need to have source.