title: `git stash list` doesn't show the before-the-slash part of branch names
body: <p>I have a post-checkout hook that uses <code>git stash list</code> to see if there's a stash in the current branch, and tells the user if there is one.</p>
  <p>It's failing when the branch has a slash in it, like <code>feature/footest</code>, because the message created by 'git stash' doesn't include the <code>feature/</code> part:</p>
  <pre><code>$ git status
  On branch feature/footest
  Changes not staged for commit:
    (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)
    (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)
      modified:   config/locales/en.yml
  
  no changes added to commit (use &quot;git add&quot; and/or &quot;git commit -a&quot;)
  
  $ git stash
  Saved working directory and index state WIP on footest: 5a81e44c1f Couple more
  </code></pre>
  <p>So, the message that's automatically created by <code>git stash</code> is</p>
  <p><code>WIP on footest: 5a81e44c1f Couple more</code></p>
  <p>Then, later, my code checks that message (when output from <code>git stash list</code>) to see if the branch matches the current branch, and decides that it doesn't, because &quot;feature/footest&quot; doesn't equal &quot;footest&quot;.</p>
  <p>I don't want to assume that &quot;feature/footest&quot; and &quot;footest&quot; are the same thing.  Ideally I'd like <code>git stash</code> to change its automatically generated name for the stash to include the full branch name.  Is this possible?</p>
  <p>I'm using git version 2.34.1 on macos.</p>
  <p>EDIT 1</p>
  <ul>
  <li>answer to @j6t's comment:</li>
  </ul>
  <pre><code>$ git show-ref | grep footest
  5a81e44c1ff2930f02047d17f75364d8a8d0e20f refs/heads/feature/footest
  </code></pre>