How to view the committed files you have not pushed yet? February 10, 2023 by Tarik Assuming you’re on local branch master, which is tracking origin/master: git diff --stat origin/master..