I have found that there are two places to change the settings for the grid in GIMP:

1. Go to Edit -> Preferences -> Default Grid. These settings specify the grid which will be used for all future new projects in GIMP. These settings will not change the current image's grid.

2. Go to Image -> Configure Grid. These settings specify the settings for the grid of the current project. Change these settings and you will see the grid change instantly.