git status
can tell you what files have been staged, but not committed, if you just want the files, without all of the other information, like unstaged files etc. you can use the following command:
git diff --name-only --staged
git/see_committed_unpushed_files.md