assertEquals(remoteURL2, remote.getFetchURL());
assertEquals(remoteURL2, remote.getPushURL());
assertEquals("+refs/heads/" + branch + ":refs/remotes/" + remoteName2 + "/" + branch,
remote.getFetch());
final RemoteListOp remoteList = geogig.command(RemoteListOp.class);
ImmutableList<Remote> allRemotes = remoteList.call();
assertEquals(2, allRemotes.size());
Remote firstRemote = allRemotes.get(0);
Remote secondRemote = allRemotes.get(1);