Update Magento.gitignore

Added slashes to the front of all paths to avoid greedy matches.
Removed slashes from the end of directory path as they are ignored by default anyway.