Revert "emacs: remove ag and magit"

This reverts commit 1f3d78562b79eebed2334854d25fe396d71f8310.