I am getting my feet wet with Git and have the following issue:
My project source tree:
/ | +--src/ +----refs/ +----... | +--vendor/ +----...
Git now has this functionality built in
git check-ignore *
Of course you can change the glob to something like **/*.dll in your case
**/*.dll
Git Reference