how to completely remove files from stage in git code example Example: remove file from stage git git rm --cached <file>