You can use the following Git command in your terminal to see a list of all files that have been committed but not yet pushed:
git diff --name-only origin/main
This command compares your local repository (including committed changes) with the main
branch on the origin
remote repository.
git diff --stat origin/main
The --stat
option shows file change statistics, including the names of files that have changed.