I have two repositories with a similar structure, but no common commits. I've added them as remotes of each other to be able to cherry-pick
commits between them.
Recently, I've noticed that git correctly applies the commit's changes even if the files' paths in the repositories differ (and the files themselves differ). How does git
find the file(s) to apply the changes to? Does it look through all the files in the current snapshot?