git clear working directory code example
Example 1: how to clear git status
git rm -r --cached .
Example 2: git clean fdx
//Remove untracked files directories and ignored files
git clean -fdx
git rm -r --cached .
//Remove untracked files directories and ignored files
git clean -fdx