Joe Beda explains the Google development model. Highlights:
There is, by and large, only one code base at Google. This has many advantages. Most obvious is that it is really easy to look at and contribute to code in other projects without having to talk to anyone, get special permissions or fill out forms in triplicate.
…
Teams are actively encouraged to share the most intimate details of their projects with the rest of the company.