GPG

https://www.youtube.com/watch?v=AYegjnDWvww

install from source
https://pastebin.com/qPunEVxR fix the /r error with dos2unix command

Use latest autotools from GNU foundation such as make 2020 November, your linux distro most likely has the 2016 version resulting in compile errors for the needed packages.

links
Encryption

https://github.com/NicoHood/gpgit/blob/master/gpgit.sh