Improve validation
Validate commit branch for git hook