Hook to create new branches with updated version numbers when user commits
Minor comments added
Made the repository attribute optional