Let\'s say that I have a desktop pc and a laptop, and sometimes I work on the desktop and sometimes I work on the laptop.
What is the easiest way to move a git repo
I would clone the repo from one box to the other, and then set up the two repos so that I can just git fetch from the other box.
Renaming the remote from origin to the name of the other box makes the remote branches easier to read.
Note that by just using git fetch (and not git push), this works well with non-bare repositories:
[user@foo repo]$ git fetch -v bar
[user@bar repo]$ git fetch -v foo