how unstaged a file code example Example: Why are there two ways to unstage a file in Git? git rm --cached <filePath>