if (commit.code === 0) {
            console.log(`  ${chalk.green('✔')}   commited changes`);
        } else {
            throw new Error(`failed to commit changes:\n${commit.output}`);
        }