There is now a git-annex package for AlpineLinux, so to install it:

apk add git-annex