Open(dir) func for opening a repository (instead of cloning it)
Clone doc