refactoring commit-msg and prepare-commit-msg hooks
fixing common methods
git hooks
use ruby for card number regexes