You can give a path to git log, e.g., `git log --follow -- file.txt`
If you'd put some text markers in the file's headers, e.g., `<history></history>`, you could create a script that gets the git log for each file that contains the markers and puts the log between those markers. Keep the markers to be able to rerun the script. Also need a script to purge the log when commiting.
Could be automated with git hooks I guess.