There is now a [git-annex package for AlpineLinux](https://pkgs.alpinelinux.org/package/edge/community/x86_64/git-annex), so to install it: apk add git-annex