in Git — Jun 22, 2021 Rename folders with Git Renaming folders with Git Execute this command in yout terminalgit mv -k -f currentFolderName NewFolderNameRename the folder in your code editor (e.g., VS Code).Commit the changes and push them.