switch to git clone --mirror rather than git clone --bare