Git Reset
Say you make a pull, merge it into your code, and decide you don't like it.
Use git-log, or tig, and find the hash of wherever you want to go back to (probably your last commit before the pull/merge) copy the hash, and do:
# Revert to a previous commit by hash:
git-reset --hard
Instead of the hash, you can use HEAD^ as a shortcut for the previous commit.
# Revert to previous commit:
git-reset --hard HEAD^