The Oxford Major Authors, Penguin, and Norton Critical editions of Great Expectations (as well as many others probably) reproduce the original ending to the novel usually in an appendix or sometimes in a note to the text.
If you don't have access to the original ending, here's how you can reconstruct it. Find the dialogue between Pip and Biddy that occurs near the beginning of the final chapter. The dialogue concludes with Pip saying, "My dear Biddy, I have forgotten nothing in my life that ever had a foremost place there, and little that ever had any place there. But that poor dream, as I once used to call it, has all gone by, Biddy,-- all gone by!" Substitute the short passage below for all the remaining text in the novel.
If you don't have access to the original ending, here's how you can reconstruct it. Find the dialogue between Pip and Biddy that occurs near the beginning of the final chapter. The dialogue concludes with Pip saying, "My dear Biddy, I have forgotten nothing in my life that ever had a foremost place there, and little that ever had any place there. But that poor dream, as I once used to call it, has all gone by, Biddy,-- all gone by!" Substitute the short passage below for all the remaining text in the novel.
It was four years more, before I saw herself. I had heard of
her as leading a most unhappy life, and as being separated from her husband who
had used her with great cruelty, and who had become quite renowned as a compound
of pride, brutality, and meanness.
I had heard of the death of her husband (from an accident
consequent on
ill-treating a horse), and of her being married again to a Shropshire
doctor,
who, against his interest, had once very manfully interposed, on an
occasion when he was in professional attendance on Mr. Drummle, and had
witnessed some
outrageous treatment of her. I had heard that the Shropshire doctor was
not rich, and that they lived on her own personal fortune.
I was in England again — in London, and walking along
Piccadilly with little
Pip — when a servant came running after me to ask would I step back to a
lady in a carriage who wished to speak to me. It was a little pony
carriage, which the lady was driving; and the lady and I looked sadly
enough on one another.
"I am greatly changed, I know; but I thought you would like to shake hands
with Estella, too, Pip. Lift up that pretty child and let me kiss it!" (She supposed
the child, I think, to be my child.)
I was very glad afterwards to have had the interview; for, in her face and in
her voice, and in her touch, she gave me the assurance, that suffering had been
stronger than Miss Havisham's teaching, and had given her a heart to understand
what my heart used to be.
(The above passage is based on the proof slip reproduced by Edgar Rosenberg in the W. W. Norton (1999) edition of Great Expectations, p. 492, retrieved from the Victorian Web (http://www.victorianweb.org/authors/dickens/ge/ending.html).