Commit changes on live site to a git repository / version control system
I have read a lot about git integration in plesk and it sounded great,e.g. here:
https://docs.plesk.com/release-notes/onyx/whats-new/ or here https://docs.plesk.com/en-US/onyx/administrator-guide/website-management/git-support.75824/
But actually as far as I found out, it is only possible to pull and deploy changes from a remote repository to your website. It is very disapointing that it is not possible the other way round:
I would like to make changes to my live site, and commit them (including all changes to the mySQL DB and files) and push them to my github repo.
(Why) is this not possible?
It would be perfect to make quick "backups" and revert changes to the last commit (e.g. in case of a hack or an accident).
Or is there any other way to use a version controll system in the webhosting world?