When the Earth was created "in the beginning" according to the Scripture it was the center of the universe. "In the beginning God created the heaven and the earth" (Genesis 1:1). The earth was geocentric until the 4th day of Creation week, when God created the sun (greater light) and the moon (lesser light) and all the stars (Genesis 1:14-19). The sun became the center of our solar system (heliocentric) to be used as light, heat, and for time. The earth and the other planets along with comets and asteroids revolve around the sun.
The geocentric theory was developed by Ptolemy with the use of epicycles to explain planetary motion. Ptolemy explained that planets revolved about the earth on epicycles (wheels that carried planets and rode on the circumference of other wheels).
The heliocentric theory developed by Copernicus, postulated that the earth and other planets revolved around the sun, and set the tone for correcting the church's hermeneutical error of submitting the Scriptural text to the science of the day. Galileo supported Copernicus's heliocentric theory with some scientific evidence, and suggested that his view was consistent with Scripture, not opposed to it.
The earth is geocentric to our moon only (the moon revolves around the earth and is used as a time calculation for months, a shield, and for the tides). But one day the earth will return to being geocentric to the universe when God recreates a new heaven and a new earth (Revelation 21:1).
But to say the earth is geocentric to our solar system is in error. It was the rotation of the earth that was stopped in Joshua 10:12-13. In 2 kings 20:9-11, God gave a sign to king Hezekiah, when He rotated the earth backwards.
God created the Earth in the beginning for a purpose and that purpose was for His ultimate creation : man! And man was created for one primary purpose, that being to glorify his Creator : the Lord Jesus Christ. Amen! But because of Adam's sin we our not only to acknowledge Him as Creator of the universe, but also receive Him through faith as our own personal Lord and Saviour (Ephesians 2:8-9).