$ git submodule update --init --recursive So my fool method is to git clone origin repo and submodule and move the old repo to my new repo. Also it will throws errormv: Directory not empty. Then, just #via: https://stackoverflow.com/questions/29135986/$ cp -R source/*destination/ $...