init($this->directory); $git->setRepository($this->directory); $filesystem->dumpFile($this->directory . '/README.md', 'foobar'); $git->add('README.md'); $git->commit('Initial commit'); $git->show('master', array('format' => 'oneline')); } }