@Test
public void testGitLogCommitSkippingandFileName() throws IOException, JavaGitException {

    CliGitLog gitLog = new CliGitLog();
    GitLogOptions options = new GitLogOptions();
    options.setOptLimitCommitMax(true, 1);
    options.setOptFileDetails(true);
    options.setOptLimitCommitSkip(true, 1);
    List<Commit> log = gitLog.log(repoDirectory, options);
    if (log.size() == 1) {
        return;
    } else {
        fail("Failed Log size does not match, commit limiting failed, while skipping");
    }
    if (log.get(0).getFiles().get(0).getName().contains("log.txt")) {
    } else {
        fail("Failed Log file name does not match while skipping");
    }
}