You have the option of having Google own the code, and in return you can work on it using Google hardware, work on it while at work, use other google code or discuss it with your coworkers freely.
Or you can ask to retain ownership of your project, but then you don't get to do any of the above. This option is also sometimes (thanks DannyBee for correcting me) not available if your project is considered to be too similar to some critical Google interest. The basic idea is outlined here: https://opensource.google.com/docs/iarc/