Run `man git-repack` or its `man git-gc` friend and recall that most filesystems hate dealing with a bazillion small files
I think there have been several attempts to use S3-ish blobstores as git backends but of the two major git hosters, only one of them is MIT licensed and they don't attempt that stunt, so safe to assume it's not a viable approach