compare /git/commits against GitHub's output

apply .rstrip() to commit messages to match GitHub