I have the following setup in my GitHub
GitHub Main Repository: QAScript1.sql with oldData
GitHub Dev Repository : I have updated QAScript1.sql with newData, Added new file ProdScript1.sql with sameContents as QAScript1.sql and committed both these files - Commit1
Deleted the QAScript1.sql - Commit2
Raised a PR to merge from GitHub Dev Repository to Github Main Repository
Now when i see the PR ->Files Changed section,I see that QAScript1.sql -> ProdScript1.sql ,I undertand this as QAScript1.sql file has been moved to ProdScript1.sql
My Question is
i)They both are 2 different files - QAScript1.sql, ProdScript1.sql .Why Github is considering as file moved instead of considering it as new File Added and old file Deleted.
ii)How does Git recognizes a fileMove in the above case?