# This will destroy any local modifications.
# Don't do it if you have uncommitted work you want to keep.
git reset --hard 0d1d7fc32
# Alternatively, if there's work to keep:
git stash
git reset --hard 0d1d7fc32
git stash pop
git reset --hard <tag/branch/commit id>
Notes:
git reset without the --hard option resets the commit history, but not the files. With the --hard option the files in working tree are also reset. (credited user)