GSoC gives you good open source and real world development experience. That helps when you get a full time job at Google.
You'll get a Google referral once you successfully complete the program. If your mentors are from Google, that's even better. If you do good work and bond well, they'd also be able to refer you.
Also, you can get a stipend upto 6k+ USD after finishing your project.
https://summerofcode.withgoogle.com/
Here is how to apply:
https://www.freecodecamp.org/news/how-to-apply-to-google-summer-of-code/
Stipend at GSoC:
https://developers.google.com/open-source/gsoc/help/student-stipends#:~:text=There%20is%20a%20minimum%20(1500,(6600%20USD)%20stipend%20amount.