I stopped being able to do GitHub code search without being logged in several months ago. The search bar would search through open issues; clicking code on the left in the results prompts me to login. Has been this way since at least June.
Yeah, I used to use github to search for codes that I don't remember in what repository I used, by searching for keywords that I can remember, but that doesn't work anymore.