When I refactor the class in IntelliJ the git looses the track of old log of the file? Is there a way to refactor the file so that it keeps the log, or am I missing something?
I am checking the log of the file in the SourceTree, but I imagine it is the same for everything.