GlamCorner interview question

How would you design a source version control system?