Specify the CTest GITUpdateCustom setting in a ctest3(1) dashboard client script.
GITUpdateCustom
ctest3(1)
CTEST_GIT_INIT_SUBMODULES
CTEST_GIT_UPDATE_OPTIONS