how to get working directory clean when running git status code example Example: how to clear git status git rm -r --cached .