Fix .gitignore ignoring non-rooted paths

Missing forward slashes resulted in git ignoring paths containing the given patterns. For example, `vendor` also matched `/non/composer/path/vendor` and thus the files weren't committed.

A file in my project wasn't being deployed because of this - got me scratching my head for a few days.