clone: Allow repo using gitfile as a reference