'Why Git uploads unchanged files again?

I have larger files in my last commit that already is pushed to my feature branch. When changing the commit message (or renaming/moving a file inside the repository) using amend-commit and force-pushing it(*), it takes a longer time to upload the full commit with file contents. So Git does not treat file contents independent from meta information as file name, commit message?

(*) Yes, I know that a) I should not store large binary files in Git and b) should not force-push my own branch - but this is not the question.

git


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source