Protip: On Linux, if you rename a file, changing only the case of the file name somehow, e.g.,
main.layout.js → Main.layout.js,
Git will pick up the change immediately.
On macOS, because it Just Works™ and you’re holding it wrong, you have to manually tell it:
git mv main.layout.js Main.layout.js
🤷♂️