@Test
public void pull() {

  if (token == null) {
    LOG.warn("Token not set!");
    return;
  } else {
    gitUtils.add(LOCALPATH, "/log4j.properties");
    gitUtils.commit(LOCALPATH, "add new file.");
    Iterable<PushResult> iterable = gitUtils.push(LOCALPATH, token, REMOTE_PATH);
    assertEquals(1, Lists.newArrayList(iterable).size());
    PullResult pullResult = gitUtils.pull(LOCALPATH, token, "master");
    assertEquals(1, pullResult.getFetchResult().getTrackingRefUpdates().size());
    gitUtils.rm(LOCALPATH, "/log4j.properties");
    gitUtils.commit(LOCALPATH, "add new file.");
    gitUtils.push(LOCALPATH, token, REMOTE_PATH);
  }
}