To control contributions from various developers in a project, code is usually submitted as a patch, reviewed, and then applied to the repository.