If you get the following errors in the browser’s console on your website:
OTS parsing error: incorrect file size in WOFF header
It’s because Git is not treating your
.ttf custom font icon files as binaries.
Quick dip into stackoverflow revealed the solution — create a blank
.gitattributes file in your root folder with this content:
*.woff binary *.ttf binary *.eot binary
The Git won’t mess with font files anymore.
It helped me!