git unstage meaning code example Example: git unstage file\ # unstage file before commit git rm --cached <file_name>