We have to ensure source_sha and target_sha are not nil before calling Gitlab::Git::Commit.between.
Attach a file by drag & drop or click to upload