With git it should be straightforward to implement an incremental, dedup backup solution since all objects are stored with their hashs in filename.
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