void (@NotNull Repository repository) { cd((GitRepository)repository); touch("foo.txt"); git((GitRepository)repository, "add foo.txt"); git((GitRepository)repository, "commit -m commit"); repository.update(); }