// create second project
TestProject secondProject = new TestProject(true, "Project-2");
try {
IProject secondIProject = secondProject.project;
// add connect project with repository
new ConnectProviderOperation(secondIProject, gitDir).execute(null);
new Git(repo).commit().setAuthor("JUnit", "junit@egit.org")
.setMessage("Initial commit").call();
GitSynchronizeData data = new GitSynchronizeData(repo, HEAD, HEAD,
false);
GitSynchronizeDataSet dataSet = new GitSynchronizeDataSet(data);