With default options, you only get colors, and this is pretty safe.
git log --format=%ae | sort -u
the cursor movement sequences will be preserved.
I haven't delved too deeply into what git actually does here in terms of processing for "pager" output vs not.
With default options, you only get colors, and this is pretty safe.