Publish content from git plain text files

It would be awesome to be able to publish posts from my git repository since I take notes with obsidian/logseq.
I would like to move from hugo to ghost, but having all my content in git is must: I need versioning, issues, plain text if I will change my mind and I don’t want to rely only on the ghost database dump.
I am actually don’t finding anything at all: there is some very old project and an obsidian plugin which does the minimum.
Am I missing something? Isn’t it a feature that people would like?

Thank you

Is there a zapier zap that might be able to do this?