Connecting to an existing repository