Undo or Discard – git commands

Most of the time we need to undo something that we changed in our code. In this tutorial we will learn commands of how to undo something.