I have tried using a GitHub repo to host photos that I displayed on a different website. IIRC it didn't work great. I would try to access the photos over the raw GitHub URLs and I'm pretty sure they would often 404. Was I holding it wrong? Are there any great guides on this topic? I also remember that "uploading" photos over Git was a pain. Basically could only upload one at a time.
I meant using GitHub to host your whole site through gh-pages, not hotlinking to assets from some other unrelated server. You can even use your own domain.