Above the webroot in this case.


Here's the cache directory: system/user/cache/*


I guess you know this, but you shouldn't set up your production sites like that. Ideally it should be: .git .gitignore system/ third_party/ templates/ webroot/ etc. You don't want any expressionengine files, addon files, or .git files to be accessible via webroot, or even set up some system to make them unavailable - the easiest and safest is just to keep ...


Personally, I wouldn't want my deployment method to dictate my placement of Git related files. I would rather my deployment process "clean" my environment and perhaps as a back-up, configure the web server to not serve Git related files. For example, here are some suggestions for Apache configurations in another question. https://serverfault.com/questions/...

Only top voted, non community-wiki answers of a minimum length are eligible