![[Home]](https://www.emacswiki.org/images/logo218x38.png)
After the release of Emacs 24.4, the Bazaar repository was converted to a Git repository.
The official git repository is available from Emacs’s Savannah page. See this page on Savannah for further instructions on how to clone or browse the repository.
To clone (download) Emacs:
git clone https://git.savannah.gnu.org/git/emacs.git
You can also get Emacs speedily from git by ignoring a lot of Emacs history. This makes the download size much smaller:
git clone --depth 1 https://git.savannah.gnu.org/git/emacs.git
and if you just want a particular branch
git ls-remote (to see a list of remote branches) git clone --depth 1 --branch emacs-29 https://git.savannah.gnu.org/git/emacs.git
Lars Ingebrigtsen has written a helpful guide on compiling Emacs for Debian and Ubuntu users.
The GNU Elpa package repository is also maintained using Git.
You can clone (download) the repository with this command:
git clone https://git.savannah.gnu.org/emacs/elpa.git