This function fetches the release version number from Github and sets it in the release tag element.
Initially, it first checks if it has already been fetched by checking the session storage.
If it has already been fetched, it retrieves the value from local storage.
When the version cannot be fetched, for example offline, the last known version is shown,
and the next page load tries again.
This function fetches the release version number from Github and sets it in the release tag element. Initially, it first checks if it has already been fetched by checking the session storage. If it has already been fetched, it retrieves the value from local storage. When the version cannot be fetched, for example offline, the last known version is shown, and the next page load tries again.