localGeogig.geogig.command(CheckoutOp.class).setSource("master").call();
// Push the commit
PushOp push = push();
push.addRefSpec("+Branch1");
push.call();
// verify that the remote got the commit
remoteGeogig.geogig.command(CheckoutOp.class).setSource("Branch1").call();
Iterator<RevCommit> logs = remoteGeogig.geogig.command(LogOp.class).call();
List<RevCommit> logged = new ArrayList<RevCommit>();