public class CreateListApplyAndDropStash {
public static void main(String[] args) throws IOException, GitAPIException {
try (Repository repository = CookbookHelper.createNewRepository()) {
try (Git git = new Git(repository)) {
File file1 = new File(repository.getDirectory().getParent(), "testfile");
<BUG>FileUtils.writeStringToFile(file1, "some text");
</BUG>
File file2 = new File(repository.getDirectory().getParent(), "testfile2");
<BUG>FileUtils.writeStringToFile(file2, "some text");
</BUG>
git.add()

public class CreateListApplyAndDropStash {
public static void main(String[] args) throws IOException, GitAPIException {
try (Repository repository = CookbookHelper.createNewRepository()) {
try (Git git = new Git(repository)) {
File file1 = new File(repository.getDirectory().getParent(), "testfile");
FileUtils.writeStringToFile(file1, "some text", "UTF-8");
File file2 = new File(repository.getDirectory().getParent(), "testfile2");
FileUtils.writeStringToFile(file2, "some text", "UTF-8");
git.add()
