avoid failure (non-zero exit code) when git has nothing to commit or push