Specify the CTest GITUpdateCustom setting in a ctest(1) dashboard client script.
GITUpdateCustom
ctest(1)
CTEST_GIT_COMMAND
CTEST_GIT_UPDATE_OPTIONS