Improving the validation function.
Start with the GIT option.