Use `git rev-parse HEAD` to get the current hash

The right command for the job, I think?