I moved a file using git mv. Now I would like to do a diff on the new file to compare it with the old file (with the old, now non-existent name).
git mv
How d
simply run git diff without any arguments, or git diff -- newfilename. git is smart enough to compare the right files/contents (i.e. original content before rename with altered content after rename)
git diff
git diff -- newfilename