When formulating General Relatvity Einstein proposed that freely falling particles, that is those subject to no forces other than gravity, follows geodesics through spacetime. In other words, those particles follow the straightest path possible.
My question here is: what was Einstein's reasoning to conclude this? How did he conclude that the worldline of a freely falling particle is a geodesic? Was it with some thought experiment?