You could already do this, grep.app for example has existed for a while. This is just bringing those features in-house.
Re:Improving GitHub Code Search
by kevinsundar on Thursday December 09, 2021 @01:43PM
(#29501215)
grep.app doesn't index all repositories on GitHub though. I was doing some research a few months ago and couldn't find anything that would search all of github quickly.
Time to go secrets and url hunting.