If your commits are only LOCAL, you can git reset --hard origin/<branch_name> to move back to where the origin is.