expand variables in git repository URL