De jure, there's no legitimate government. After abu Mazen dismissed the Hamas government, he was the legitimate government, but only for the short period allowed by the PA constitution after which new elections were necessary. He ignored that provision. Both governments are illegitimate, although the Hamas government in Gaza was at least elected, while Abbas is basically a Washington/Tel Aviv appointee, FWIW.