- On GitHub.com, navigate to the main page of the repository.
- Above the list of files, click Go to file.
- In the search field, type the name of the file you'd like to find.
- In the list of results, click the file you wanted to find.
You can search for a file in a repository using the file finder. To search for a file in multiple repositories on GitHub Enterprise Cloud, use the
filename code search qualifier.