subfolder gitignore
./folder/subfolders
or
**/bin/Debug/
**/bin/Release/
With version 1.8.2 of git, you can also use the ** wildcard to match
any level of subdirectories:
Mohamed Awde