Skeleton of script for testing
Set permissions on folders
Suffix repo folder with .git
Change ownership after creation
Corrected variable names where it'd been moved out of loop
Method wasn't seeing global var
Remove +x
Create hooks
Fix file name for hooks
Correct file mask
Remove whitespace
gsub filename