Every time, when my manager asked me to do some changes to the repository that is totally new to me. I became scared.
I prefer to do research by myself first. But I got lost in the new repo by reading file by file, and don't get the clarity.
So I ask the repository owner to provide documentation, mostly they don't maintain documentation, and even if they do, it is not updated or it involves a lot of detailed feature-wise documentation, which is usually not relevant to my requirement.
Then, I call the POC of that repo, but I couldn't figure out what is the right question to ask in the first call. Over time, I ping him asking questions whenever I face hurdles while achieving the requirements.
Sometimes, I put a debugger or logs to understand the flow of code.
The above processes took a lot of my time.
What is your suggestion to get clarity in the new repo such that I can complete my requirements in less time?