I am working on an Open Source project and I have a git repo on my machine with all the code. The repo is kind of big, and I would like to keep working on it while I do not have
I was facing the same situation as you. After some digging, I cloned the repo onto my usb drive, then cloned the repo from the usb to the other computer; and then changed the remote for the repo on the new computer using: git remote set-url origin
You can make sure the origin you added is correct using: