There is a problem with this regexp: if you are in sync with the branch (ie. you aren't behind/ahead of it), it will print the full line, like `local...remote`.