Revert "Use %x instead of system in gitclone"

This reverts commit 1dc0e4573b685cfd806ece5497e1514c04eceb30.
Revert "Use %x instead of system in gitclone"

This reverts commit e83e7a5fc5e1561e8b647c48c89dbe38b98c4950.