Years ago, I used to work with a version control software that used to automatically add authors and the first line of the commit at the top of the source code. He found this very useful to quickly check the history without having to search through the commits. I'm wondering if this is possible with Git (right now, because of some external requirements, we at least need the authors of the file to be added into the file itself). I looked into git hooks but could not find anything so far in the post commit script. Our repositories are hosted on Bitbucket.
Since I have not been able to find anything so far, I'm wondering if this is even possible to be achieved and if so where can I start looking? Obviously if there is an open source script that does this, it would be the best.
Thanks for any pointers!