Adding pull requests edges and commit edges, Nonetype must be fixed