Add git requirement, closes #628.