You can always use something like the Nix package manager[1] to install Firefox, Git, and Emacs, and leave the rest to Ubuntu. Save for Firefox, which I install from a tarball and use auto-update, I have been doing that with Debian stable on my laptop, and it works well.