A. FIRST WAY
git add .
Action: do
git reset
Action: undo
B. SECOND WAY
Other way to reset a bad commit
git commit -am “bad commit”
git log
To do: here chose for the <ID> you wanna go back
git reset <ID>
C. THIRD WAY
git log
git reset —hard <ID>
Action: Complete removal of bad file