i\'d like to just checkout the files without the .git files and the whole repository. It\'s because i\'d like to manage a website (php & html) with git and i\'m looking
You could create a tar archive in a git working directory and copy the tar to the server:
git archive -o foo.tar HEAD scp foo.tar server: