Some of the earliest galaxies to form in the Universe are sitting on our cosmic doorstep, a study says.