Use adaptCliGitClone after clone operationg