This is a timely mention since Google Earth lost its railroad layer recently (though per [0] (a) Google is offering a workaround and (b) https://www.openrailwaymap.org/ is mentioned in the comments).
[0] https://support.google.com/earth/thread/139934632/rail-lines...