(for qubes) how to safely download modifys from github

qubes is good for privacy but its very slow there are debolat projects on github like mirage firewall but installing random bs in dom0 is bad

what do i do

(it can be advice not spific to ,linux too)