method startRepo