Checking commit from cmd line