Github now displays PDF files like any other image. PDF display isn't 100% perfect, but it's good enough—here's an example of one of my projects.
Especially for small snippets or examples it would be very nice to have PDF examples that can quickly demonstrate a concept. They can also be included into Markdown files.
The best way to store PDF files would be through Git LFS, to prevent them from slowing down the repository.