set upstream for pulled repos