[#4] Added uniqueness constraint for commits