I've been searching with a couple different terms but didn't find exactly what I was looking for.
I got the idea to start a blog with a flat file CMS. It would be handy to have the pages in a git repository, so I can easily update the blog from anywhere and have it automatically update with webhook. The question is, could I safely, just clone and pull the changes to the public content on the server? Or should I rather clone it to some un-published folder and copy the files to the public contents?
I think about using Grav for the CMS, btw.