Copying a complete git repo
Sometimes the simple things can be hard as I needed to copy a complete git repo, and couldn’t quickly find how to. In the end I found this:
git clone --mirror firstname.lastname@example.org/upstream-repository.git cd upstream-repository.git git push --mirror email@example.com/new-location.git
which worked as a charm.