git mv: rename files without the delete-and-add confusion

Did git ever freak out on you when you tried to rename a file and act like you deleted it and then created a whole new file? Yeah, I know how that goes. 😅 That is because you did not use the git move command. When you rename a file without using git mv , git does not realize you only changed the file name. The only thing it knows is that the file it knew disappeared, and there is a new file right…