fixed injection of BadgeFactory and RepositoryParser
refactored duplication in git trackers