Use local variable.
Test remote cloning through SSH.
Don't use pointers for those things.