I know what git fetch does and how this command is used.
git fetch
I am interested in the internals: how does Git determine the exact commits to transmit?
F