I wanted to understand how lot of opensource code available on github worked but i was left scratching my head , and not understanding anything about how it worked (their logic to solve the problem they set out to solve), so i want any feedback from the community about their experience in reading code written by others and any tips, tricks, 3rd-party software,etc they use
You’re not going to understand poorly documented code just by staring at it.
You have to first have a firm understanding of the programming language being used then do things like clone the repo and run up the code in a debugger to step through it and see how it works. These are skills you learn through writing code yourself.