結果 : check if commit is in branch