Do site git scm, sobre o gitignore :
A leading "" followed by a slash means match in all directories. For example, "/foo" matches file or directory "foo" anywhere, the same as pattern "foo". "**/foo/bar" matches file or directory "bar" anywhere that is directly under directory "foo".
Você deve igonre trash
pastas por este padrão:
**/.trash/