Yes, GitHub code search is much better than Googling for the same information.
And ChatGPT can't show you the whole codebase which is important to understand structure - plus sometimes it's easier to surf around a few files than have ChatGPT print at you.