JavaScript check if a string is valid short git commit ID using check-more-types library In this JavaScript tutorial we learn how to check whether a given string is a valid 7 characters short SHA git commit ID using the check-more-types library.