The only one important (imho of course) feature that GitHub has and self-hosted GitLab lacks is search across repositories [0]. Search inside a single repository is done via git.
Of course you can self-host and configure your own Sourgraph installation, but that's a bit more work.
For self-hosted instances you can use Advanced Global Search https://docs.gitlab.com/ee/user/search/advanced_global_searc... to do this. Please note that this requires installation of Elastic Search. It used to be a paid feature but I think we recently open sourced it.