The git repository is defined by the
.git folder at the
All references inside this .git folder are purely relative, there's
nothing tying it to a specific place or hardware, you can move it or copy
it without any problem.
The problem you have seems to be uniquely related to ssh authorization,
which is managed totally out of git. Fix your ssh problem and ensure you
can do basic ssh operations like
scp, then you'll probably be
able to use your repo on your new laptop.