Install the expect package, which comes with the unbuffer command. And disable the pager by overwriting PAGER
expect
unbuffer
PAGER='cat' unbuffer git log | head
This filters through the complete output (And retains colors as well)