Sometimes you need to share code via E-Mail / stick. If the code you need to share is a git repository, creating a bundle is a pretty good way to do it.
You can create a bundle with
$ git bundle create repository-name.bundle --all
Then you can restore the repository by cloning:
$ git clone repository-name.bundle
You can also use a bundle as a remote. Hence
$ git fetch origin $ git pull