I'm not saying this is a good way to solve this problem, however this does seem to work-for-me.
git branch --contains $(cat .git/ORIG_HEAD)
The issue being that cat'ing a file is peeking into the inner working of git so this is not necessarily forwards-compatible (or backwards-compatible).