phase1: support specifying repository source branch