Re:Ask HN: How do you sync your Git repos across machines at...
by stephenr on Wednesday August 21, 2024 @04:46AM
(#41308191)
You don't need to use a bare repo necessarily if you want to push/pull between two working repos, without a central "bare" repo locally, you just need to tell git to update when receiving:
`git config receive.denyCurrentBranch updateInstead`
If you want more functionality than that, gitlab has a free tier that can be self-hosted. same with gittea.