This is not the same government.
The fact that Mao tried to have Deng assassinated goes to show that it became a different government when Deng ascended to power.
The fact that Xi was sent to a reeducation camp in the 70s and now he is the president of China shows this is a different government.