Checking name against commit