I have git configured to use `less -+S` as the pager.
The answer turns out to be really straightforward, but took me a little bit of internet searching. I am capturing the learning here to save my future self the research and possibly anyone else typing the exact same thing into Google that I did ;-)
- Git pipes the logs into less
- I quit the less process, which sends a SIGPIPE signal (13) to the underlying git process streaming the logs
- git catches the interrupt and exits prematurely and per POSIX convention returns 128 + the SIGPIPE status ==> 141 to indicate that it was terminated by signal 13.