git-extractor: bfs in prevRelatedCommits
git-extractor: bfs in history graph
git-extractor: filter parents from related commits