Which battle led Germany to fight a two-front war?

What was Russia’s first move in the beginning of the war? What did this make Germany do?