Run:
cd REPOSITORY_WORKING_DIRECTORY git bundle create PATH_TO_BUNDLE.git --all
to create a single-file backup of the entire repository.
Note that the bundle file is a functional Git repository:
git clone PATH_TO_BUNDLE.git MY_PROJECT