About searching on GitHub

Use our powerful search tools to find what you're looking for among the many repositories, users, and lines of code on GitHub.

Understanding the search syntax

When searching GitHub, you can construct queries that match specific numbers and words.

Troubleshooting search queries

If you encounter unexpected results while searching on GitHub, you can troubleshoot by reviewing common problems and limitations.

Sorting search results

You can sort GitHub search results using the Sort menu, or by adding a sort qualifier to your query.

Enabling private GitHub.com repository search in your GitHub Enterprise account

You can connect your GitHub.com and GitHub Enterprise accounts to search for content in certain private GitHub.com repositories from GitHub Enterprise.