check for untracked changes before doing anything else