Add command infrastructure.
Add git mirror logic.