check upstream branch