As you probably know from these three questions that you have linked, there is nothing in Git that tracks file movement. For Git, this is just a file that is deleted, and another file is added. Only the interface does some recognition of file movements based on content similarity. Thus, if GitHub does not track changes to a file that may have been ported earlier, you really cannot do anything but ask GitHub to work on it.
At the same time, your statement that moving the file will cause the contributor to be without visible commits is false. Yes, if I look at the history of one file that was previously deleted, then it may seem to him, but, as you could now, Git does not forget about what happened in the repository. And the journal for the repository will still contain every single message visible from this thread. And that, obviously, also includes commits that happened before the files were moved (since Git tracks content, not changes). You can usually get the commit log at https://github.com/<user>/<project>/commits/<branch> .
And here is another point: only those commits that are visible from this branch are included in the log. Therefore, if you work with several branches, all this is stupid anyway. If you want to get an idea of how the contributor is working on the project, you should use the project graphs at https://github.com/<user>/<project>/graphs/contributors .
But, of course, measuring the amount of fixation is not a good indicator (just like the LOC ratio ).
poke source share