Updated test to work with config for the secret
Moved git stuff into it`s own module