how to restore git clean code example Example: git clean fdx //Remove untracked files directories and ignored files git clean -fdx