The action "Replace with file in Git Index" does not perform an unstaging operation. It replaces the working tree version of a file with the version in the Git Index. Effect:
File is staged and modified => file is replaced with the staged version
File is modified and not staged: file is replaced with the HEAD version.