Add option to handle dirty working tree on project init.