sync repository to remote