Are you sure this is what is expected? I'd expect "pending commits" to fetch me those commits on the local branch that have not yet been pushed to remote origin. This is not the same as commits between the local branch and the master.