Xtreme Labs interview question

How would you implement a source repository system?