git remove a file from the staging area code example Example: remove file from stage git git rm --cached <file>