The correct revision of the sentence that uses commas accurately is:
"Brandon helped the elderly woman with her shopping basket, which was overflowing with groceries."
(Note: The original structure without the first comma is also correct, but it seems to be repeated in the options. The version with the comma before "which" is accurate since it introduces a non-restrictive clause.)