When and how did the ancient Greek civilization begin?

Three thousand years ago nomadic tribes moved into Greece and each established farming areas which developed cities and became city-states.