While browsing GitHub from Safari on iOS, I've occasionally switched to desktop version of the website. Now I couldn't find way to switch back to mobile version. Even when opening GitHub in Safari private mode, I'm getting myself on desktop website. How could I bring mobile GitHub back?
What I've found is that some github pages are mobile while others are desktop/full pages.
So if you're looking at a repository, you'll see a mobile version of the page.
EDIT: if you don't see a "switch to mobile" link when you're on /explore. You might have to clear your Safari cookies. To clear Safari cookies, go to Settings -> Safari -> Clear Cookies and Data.
A direct solution to the problem is to add to any of GitHub URLs parameter
However I found no reason for Switch to mobile version link is not shown in Safari on iOS as it appears on screenshot posted by @Muhammad in comment to his answer. It someone know the reason behind it, feel free to edit the answer.