use git clone if git archive is unavailable