Open
Description
Currently the _prepare_repo method is implemented as part of the analyzer module, but it would make more sense to move it as a git_service
method. Also, the current logic of handling locally cloned vs remote repositories is entangled and it would be nice to separate them to make the code more maintainable. A TODO item is added in this PR to address this refactoring.