Add cleanup for some shellscripts and fix git parse
* update text for git to check for a clean directory
* fix some whitespace