added full test coverage on fetchGitData