Status check is done with "$this->git->hasStagedChanges()"
Improve path handling with Pathogen and dedicated writeFile methods