Git update ref. Git. git commit. git reset head~1. git github.