If you rename a file, do not make modifications to the original file!
Git will then automatically detect the renaming