add a configure folder with pre_commit hook