I got that backwards. I made the mistake of making a root .gitignore. Add .gitignore to the one in /Source and move it to the root. Don't duplicate.

(Also correct the paths, since from the root, it should be /Source/background.png etc)