Refactoring CreateTestRepository

Now each git command is a function
Merge pull request #130 from marcelometal/refactoring_create_repository

Refactoring CreateTestRepository