use curl to retrieve repos