The script didn't work at all because it's not possible to get the
latest commit date from the remote repo.  It now works around this by
using 'git status' to obtain information.  How reliable this is is
unknown.

+ added option to automatically update the repo
+ added option to not shorten the output of 'git status'
+ fixed the behaviour of some options so that they are toggles
+ modified subject for emails