Is it safer to download app from official fdroid repo or same as downloading direct from github?

I am confuse about from were to download app, my priority is safety and privacy.
Pls provide some guidence
This all happen after reading this

Define safety from what?

What’s privacy to you?

Developers build and sign and publish on Github.

F-Droid builds and signs and publishes on F-Droid

A brief and informal analysis of F-Droid security | Wonder's Lab sir pls read this
All this confusion started after reading it
Also downloading from github do not insure safety that the app made by using the same source

why ?

That’s true

Anyway, pls read What are the issues fdroid have about security?

And Privacy On Phone