read commit ID only from git log