Adding slashes to directories in the gitignore file