Steps to reproduce: git init git submodule add -b master git://github.com/ioquake/ioq3.git cd ioq3 make USE_GIT=1