connect to remote repository