A good way to become a better programmer is to read and understand code written by others, and here’s why:

1- By reading code written by others, you expand your toolset of problems solving, since you become exposed to different writing styles, and a multitude of ways to solve a problem that you were totally unaware of.

2- You will also become better and faster at it, which is very beneficial when you want to do code review at work, and for productivity purposes.

3- it can motivate you to contribute to open source projects, especially if you were checking a project you really liked and you felt that you can actually contribute and improve that specific project.

And to start doing all that, you can simply go to GitHub and check projects there, and make sure to pick a language you like, also, it is ok if you didn’t understand the whole code, even if you get just a minor benefit from what you read (like the styling for example, or a simple trick), it will still be worth it.

and finally, while you become familiar with reading code, don’t forget to write code as well, and share it, so we can read it!