git-state.sh: Fix for previous commit re lack of upstream branch
git-state.sh: Check for needed 'add' or 'commit'