Downloading and installing apps from Github - best procedure to replace app directory

I’m thinking that this is a questions other have but are just too shy to ask… I’ve been meaning to update the News app with the development branch on Github and I’m looking for the “best” way to move the downloaded file to my Nextcloud’s app directory. I could download it and replace the existing directory… but is there another way to do this using the program Git?

thanks,
Wayne

Install it from the app store, the latest release and master should be identical. For everything else consult the README. Everything is documented