I really like this warning. I think an additional enhancement could be adding a link or button to guide users to push their branch, or open the SCM view.
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results