After seeing the following from the command line:
# On branch RB_3.0.10 # Changed but not updated: # (use \"git add ...\" to update what will b
I had .gitattributes with the following content:
* text=auto eol=lf
To overcome the issue, edit .gitattributes to remove this line which relaxes line endings. Then git reset --hard HEAD reverted the files and .gitattributes file.
.gitattributes
git reset --hard HEAD