Are you looking for a git server like GitHub, gitlab? Or are you just trying to use git to manage your repos?
I use git to manage repos on my PC's directory. I don't need to collaborate with others. So I don't need to push it to anywhere.
I back it up same as any other files.
If you are like me, you don't need to use any of the online service. A local repo is absolutely sufficient