correctly setup the remote repo refs