To list all stashes in a Git repository, you can use the following command:
git stash list
This command will display a list of all stashes you have created in the current repository, along with their identifiers and messages (if any were provided when the stash was created). Each stash will be listed in the format:
stash@{0}: WIP on branch_name: commit_message
stash@{1}: WIP on branch_name: commit_message
...
This helps you keep track of the stashes you have saved.