Does sitecake actually edit the html file itself, or save elsewhere?

My workflow is like this:

Version control for my team using github

Deployment via deploybot (ftp) to our host server

If edits are written directly into the html file on the host server, this breaks the version control. Is there any workflow recommended to help feed updates back into our github repo?

I suppose you need “fetch bot” do fetch files from server to git repo managed environment.