I would never upload it to GitHub either even though it's encrypted. It still leaks the metadata. And I don't believe in cloud anyway.
I just set up a simple git server in docker for it. Takes almost no resources.