Definitely recommend contributing to their codebase. It's a great experience. I wrote about my experience contributing to Servo here: https://brainlessdeveloper.com/2017/08/12/my-experience-cont...
It indirectly helped my carreer: It gave me confidence that I could be an occasional contributor to OSS. I learned valuable things when doing each contribution.