Well, if your codeberg is just a mirror and you actually use your raspbi as remote, and you have full control of raspi, why not simply use a cron job that syncs raspi and codeberg daily? Dead simple solution.
A git hooks on your pi that is a post commit hook to push to codeberg
ok but can you add that in vanilla git or do you need something like forgejo?