Usage of the git.CommandFactory in operations package
To break dependency on the gloabl config.Config variable we introduced git.CommandFactory abstraction that hides all the dependencies internally and can be mocked if needed. This gives us more flexibility in testing and make the code less buggy by removing dependency on the global state.
Part of: #2699 (closed)