See also:

Concepts: Project | Build Configuration| Build Configuration Template
Administrator's Guide: Configuring VCS Roots | VCS Checkout Rules | VCS Checkout Mode | VCS Labeling