Search on GitHub documentation
Learn how to use the search functions available on GitHub to find different types of information, like projects, people, and code.
Recommended
About searching on GitHub
Our integrated search covers the many repositories, users, and lines of code on GitHub.
About GitHub Code Search
You can search, navigate and understand code across GitHub with code search.
Understanding the search syntax
When searching GitHub, you can construct queries that match specific numbers and words.
Articles
About GitHub Code Search
You can search, navigate and understand code across GitHub with code search.
About searching on GitHub
Our integrated search covers the many repositories, users, and lines of code on GitHub.
Finding files on GitHub
You can search for a file in a repository using the file finder. To search for a file in multiple repositories on GitHub, use the path code search qualifier.
Searching code (legacy)
You only need to use the legacy code search syntax if you are using the code search API.
Searching commits
You can search for commits on GitHub and narrow the results using these commit search qualifiers in any combination.
Searching discussions
You can search for discussions on GitHub and narrow the results using search qualifiers.
Searching for packages
You can search for packages on GitHub and narrow the results using search qualifiers.
Searching for repositories
You can search for repositories on GitHub and narrow the results using these repository search qualifiers in any combination.
Searching gists
You can search for gists on GitHub and narrow the results using search qualifiers.