Error Upgrade from Version 7 to latest version

To update version by version, you would need to specify to git the particular version tag to checkout from the repository. Posts like this give the basic idea How to install a specific version of ERPNext