github: added query to check github status
Merge remote-tracking branch 'jdowner/github'
github:  only print last message, encode utf-8