There are many possible solutions, but here’s mine: a small script
cur that returns the path to the buffer currently active in
#!/bin/sh emacsclient -e '(buffer-file-name (window-buffer))' | \ sed -e 's/^"//' -e 's/"$//'
It’s easy to use with tig – or any other command-line tool you might need:
tig blame $(cur)