CFY-1547 add handling for git clone