获取当前 commit 的 hash

git rev-parse --verify HEAD