My first idea was to use the Gitea instance of the Free Software Foundation Europe, but T&Cs strongly encourage only projects with direct relation to the FSFE activities, so personal projects don’t seem welcome.
The first-party Gitea platform seems to be in risk of becoming for-profit.
It might not be a solution for everyone, but you can self host a git repository on your static site!
I like the concept and the aesthetics, but I guess you still need to run a git server?
Nope! Little known to people, you just need to locally clone your repository with --bare
and upload that. You will see you can clone it even if you don’t have a git server!
It is a very slick, minimalist solution.