[supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)

I’m having issues with the community addons, I have no clue why… the errors keep changing… I do have another one added which does work, the esphome addon.

21-09-03 10:28:10 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
POST git-upload-pack (164 bytes)
POST git-upload-pack (244 bytes)
error: RPC failed; curl 56 OpenSSL SSL_read: Connection reset by peer, errno 104
error: 6833 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
'.
21-09-03 11:17:46 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
POST git-upload-pack (164 bytes)
error: could not lock config file /data/addons/git/a0d7b954/.git/config: No such file or directory
fatal: could not set 'core.repositoryformatversion' to '0'
'.
21-09-03 11:20:02 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
POST git-upload-pack (164 bytes)
POST git-upload-pack (244 bytes)
fatal: unable to open /data/addons/git/a0d7b954/.git/objects/pack/tmp_pack_srLotz: No such file or directory
fatal: fetch-pack: invalid index-pack output
'.

after numerous attempts it works, I have no clue why, I didn’t change a thing…