I am developing site using denwer on windows 7. How to make git and denwer and make easy updates of the website on the server with debian? Just say that just started to learn git. I made a folder in the site repository (i.e. in the folder of the site (call it site) was formed folder .git , also there was a www directory with the files of the site). But now if I put in the folder of the site or any file, that file will be included in the repository, and I don't need to reset the repository, only the files from the folder site/www. If the repository to do in the folder site/www, it will be awkward to pour the files on the server via ftp, you can casually throw on to the server and folder .git. In General, what would be better?