I was looking for a way to push my local development environment up to a remote repository and pull it down on another system, maintaining the list of patches. This is what I came up with (assuming I am working on the "develop" branch):
On the originating system:
git push origin develop
git push origin refs/stacks/develop:refs/heads/develop.stgit
On the receiving system:
git clone <repourl>
git checkout develop
git fetch origin refs/heads/develop.stgit:refs/stacks/develop
That seems to work. Am I missing anything?