Which commands will revert the change made below so that we go back to the previous checked-in state? (Select all that apply.)
given the output of git diff test.rb
$ git diff test.rb
diff --git a/test.rb b/test.rb
index ce01362..94954ab 100644
--- a/test.rb
+++ b/test.rb
@@ -1 +1,2 @@
hello`enter code here`
+world
options are
1.git revert test.rb
2.git checkout
3.git checkout --test.rb
4.git show master:test.rb
have tried with option 1 but not working.