What is the motherboards for these two machines?

Solution
Here is the MB info for Optiplex 780 https://www.amazon.com/Dell-Optiplex-Motherboard-Compatible-Numbers/dp/B00UK5SEQM/ref=sr_1_2?ie=UTF8&qid=1485463759&sr=8-2&keywords=dell+optiplex+780+motherboard
And I can't find the info for other one, but it is lga1151 MB.
If you just want to upgrade the GPU, any pcie type GPU will fit into both of them, because the MBs have pcie x16 slot, as long as you have the PSU to handle the new GPU, you can use the new GPU, and make sure you use the DDU uninstall the old GPU driver first, then switch to the new GPU.
DDU http://www.guru3d.com/files-details/display-driver-uninstaller-download.html

If you want to delete the thread, PM to any mod and we can do it for you.
Here is the MB info for Optiplex 780 https://www.amazon.com/Dell-Optiplex-Motherboard-Compatible-Numbers/dp/B00UK5SEQM/ref=sr_1_2?ie=UTF8&qid=1485463759&sr=8-2&keywords=dell+optiplex+780+motherboard
And I can't find the info for other one, but it is lga1151 MB.
If you just want to upgrade the GPU, any pcie type GPU will fit into both of them, because the MBs have pcie x16 slot, as long as you have the PSU to handle the new GPU, you can use the new GPU, and make sure you use the DDU uninstall the old GPU driver first, then switch to the new GPU.
DDU http://www.guru3d.com/files-details/display-driver-uninstaller-download.html

If you want to delete the thread, PM to any mod and we can do it for you.
 
Solution