When you say “squashed” vs “not-squashed”, are you referring to the “squash” merge feature in Github?
If so, that turns a PR branch into a single commit onto the target branch (master). Unless the old branches are kept around, the unsquashed commits won’t be available.