git ignore vendor/*

this way individual files / folders can be unignored like:

!vendor/assets