git rev-parse --short HEAD (Get Current Head)
git checkout production (switch branch)
git reset --hard <commit id> (reset head)
when git not up to date when pull after reset head, use this
git reset --hard HEAD~20 # some large number
git pull origin master