Always prefer rename over deletion when moving files
For example, without using rename, file rename will register as a deletion and addition of file
Use git mv
as first class
git mv old_name new_name
git mv old_path/file_name new_path/file_name
Move files in a directory to new location
git mv old_path/folder_name/* new_path/folder_name/.