Make sure you have the ignorecase set to false:
git config core.ignorecase false Then, do two git mv:
git mv foldername tempname
git mv tempname folderName Make sure you have the ignorecase set to false:
git config core.ignorecase false Then, do two git mv:
git mv foldername tempname
git mv tempname folderName