Reference:
https://stackoverflow.com/questions/11183788/in-a-git-repository-how-to-properly-rename-a-directoryCommand:
git mv <old name> <new name>
Example:
Rename the directory from source to target
git mv source tmp
git mv tmp target
git mv <old name> <new name>