Is it possible to search the entire GITHUB from the server on the command line?

I always search from the WEB to the whole of GITHUB.

I’m looking for interesting code and having fun.

Is it possible to search the entire GITHUB from the server on the command line?