how to revert local git branch code example
Example 1: how to undo git clean -fd command
git clean -fdx
Example 2: git remove my local changes and pull from master
git reset --hard <your commit hash key>
git clean -fdx
git reset --hard <your commit hash key>