added clone function for git