I changed the name of a file to start with a lowercase letter instead of an uppercase letter, because auto-refresh wasn't working in development for files starting with capital letters, for whatever reason. I messed around with the config to make git case sensitive (or the opposite; can't quite remember). Now my project is how I want it to be on the local repo. The folder structure (the relevant parts) on the local repo looks like this:
Components/
-- home-page/
-- burger.js
-- footer.js
-- layout.js
-- navbar.js
-- navlink.js
In the remote repo, it looks like this after pushing this project to it:
Components/
-- Layout.js
-- Navbar.js
-- burger.js
-- footer.js
-- layout.js
-- navbar.js
-- navlink.js
As you can see, Layout and Navbar appear to be duplicated, where one file is capitalized, and the other isn't. I don't quite understand why the capitalized files are pushed to the remote repo when they aren't present in the local repo. I suspect it has something to do with me setting the config variable for 'ignorecase' to be false at some point.