1. create a bundle

    cd reponame.git

    git bundle create reponame.bundle --all

  2. move the bundle file to a different location

  3. restore git repository from the bundle file

    git clone reponame.bundle reponame