gs function now fails elegantly if no commit message and will stop running if one of the git commands fails