Mainly because SHA1 was convenient, but also Git uses SHA1. See this Linus rant:
https://marc.info/?l=git&m=148787047422954
Most of that argument applies, but if it ever becomes a problem, we should be able to move to something like SHA256 fairly easily.