git remote resolver and tests