Part of history

Say I have a remote (bare) repo somewhere.
I also have a local repo somewhere.
These repos are synced.
Then I go to the machine with the local repo and do some changes and commit them.
Local repo is now ahead of remote repo, but I don’t have (reliable) network on the local repo site so syncing must be done by e.g. an USB memory stick or similar.
Is it then possible to create a patchfile or similar from the local repo, carry this to the site with remote repo and update the remote to sync them?
(Copying the whole local repo might be to much data and takes too long time with a slow USB stick)

That should be possible using the git bundle command. I say “should” because I haven’t used it, but the documentation (see the previous link) has detailed examples.