Detect remote git url