fix depth=0 git clone bug