ok not($tree->exists), 'tree doesnt exist yet';
ok $tree->create, 'tree creation successful';
ok $tree->exists, 'tree does now exit';
+ok(-e "$tree_path/.gitignore", 'created .gitignore');
do {
ok(my $fh = $tree->open('>', 'foo/bar.txt', mkpath => 1), 'open file');