# Add the file remande git add newRenamedFile.ext # See what the commit will do (git status doesn't show anything) git commit --dry-run -a # The output must show: # renamed: originalFile.ext -> newRenamedFile.ext