S3 lets you redirect requests for an object to another object, or to a URL. This could be used to export a git branch, in the manner of git-annex-export, but with annexed objects redirecting to a key-value S3 remote in the same bucket.

Related: simpler, trusted export remotes ; Using hashdirlower layout for S3 special remote.