Git reset -hard
The git reset command is for undoing changes. It has three primary forms of invocation. These forms correspond to command line arguments…
git reset