They are exactly the same.
Frame wise, the only difference between Government 5 inch and Commander 4.25 inch is the shorter dust cover on the Commander frame. As well, the slide and barrel are shorter and the recoil spring is also slightly heavier weight, IIRC.