The files get corrupted when I try to clone the repo or download it as a zip. The only way to get them is to download them as raw files.
After googling for a bit, I learned that this happens to font files in git repos because git tries to manage line endings for you. It can be fixed by adding this to your .gitattributes
*.woff binary
*.woff2 binary