So I found the question about how to view the change history of a file, but the change history of this particular file is huge and I\'m really only interested in the changes
Show function history with git log -L :<funcname>:<file>
as showed in eckes's answer and git doc
If it shows nothing, refer to Defining a custom hunk-header to add something like *.java diff=java
to the .gitattributes
file to support your language.
Show function history between commits with git log commit1..commit2 -L :functionName:filePath
Show overloaded function history (there may be many function with same name, but with different parameters) with git log -L :sum\(double:filepath