I am using the GitHub\'s GraphQL API to search for files/code containing a particular word. A simple (contrived) example of a search which in this case is to find the term
You can add qualifiers, if you want to search "beef" just in names than change the query like
search(query: "beef in:name", type: REPOSITORY, first: 10) {
for further detail you can look at https://help.github.com/en/articles/searching-for-repositories#search-based-on-the-contents-of-a-repository