Why should we visit the shrine (Jinja) when we move?
The reason is that visiting the sanctuary is a greeting (prayer) of thanks to the God who protects the neighborhood and the people who live in the neighborhood.
In Japan they say that there are eight million Gods, so there is a God to protect the neighborhood of the city where you live, that is, every neighborhood of every city there is a God.
After you change, you should also go to the shrine (Jinja) in the new neighborhood to greet and pray to the God of the new neighborhood.
As you greet the God of the new neighborhood, you will be creating a bond with God.