Repositories are large and folder structures aren't obvious to outsiders. Three techniques get you to almost anything.
THREE WAYS TO FIND THINGS
1. PRESS t
On any repo page, pressing t opens a file finder.
Start typing part of a filename. Fastest route to a
file when you roughly know its name.
2. SEARCH THE CODE
Use the search box at the top with the repo selected.
Searching for a phrase a user sees - an error message,
a button label - usually lands you in the right file.
3. FOLLOW A PULL REQUEST
If you know a recent change touched the thing, open
the PR and look at its Files Changed tab. This is
often the fastest route of all.
THE PM TRICK
Search for the exact text a customer quoted in a support
ticket. You will usually find the code that produced it
within thirty seconds.
The Blame View Answers 'Who Changed This?'
Open any file and there's a button marked Blame. Despite the name it isn't accusatory — it shows, line by line, which commit last changed it and who wrote it. When you need to know when a piece of behaviour was introduced and why, this is the tool. It's the single most useful thing in this chapter for answering product questions.
I'm a PM trying to understand a repository my team owns. I can't
read code well. Help me orient.
REPO NAME: [name]
README CONTENTS: [paste it, or say there isn't one]
TOP-LEVEL FOLDER NAMES: [paste the list from the homepage]
RECENT COMMIT MESSAGES: [paste the last 15]
Please:
1. In plain language, what does this project appear to be and
what part of our product does it produce?
2. What is each top-level folder most likely for? Flag any you
can't confidently guess.
3. Based on the commit messages, what has the team been
working on over this period? Group them into themes.
4. Which folders look like they'd contain user-facing behaviour
I might want to look at, versus infrastructure I can ignore?
5. Three questions I should ask an engineer to fill the gaps
you couldn't work out from this.