scripts: added a script that inits the repository (commit hook setup etc.)