how did ww2 led to the postwar government of germany? what was the post war government?

At the end of WWII, the Allies divided Germany into four sectors. The UK, US, and France divided West Germany and cooperated with each other. The USSR governed East Germany totally differently as a separate nation.

http://en.wikipedia.org/wiki/History_of_Germany