BGN, VCAN, FN1, FBLN1, COL4A5, COL1A1, and COL6A3 were identified as shared genes and potential therapeutic targets for people suffering from GC and T2D. This evidence concerns the gene COL4A5 and type 2 diabetes mellitus.