convert git commits to diffs and branches to lines
convert git commits to diffs and branches to lines