The core updates fine to v5.0 but the web part doesn't:
root@pihole:/etc# pihole checkout web release/v5.0
Please note that changing branches severely alters your Pi-hole subsystems
Features that work on the master branch, may not on a development branch
This feature is NOT supported unless a Pi-hole developer explicitly asks!
Have you read and understood this? [y/N] y
[✓] Fetching branches from https://github.com/pi-hole/AdminLTE.git
[i] 30 branches available for Web Admin
[i] Requested branch "release/v5.0" is not available
[i] Available branches for Web Admin are:
- Promocustomiseadlists
- addtowhitelistoutputparsing
- angularJS
- api
- auth/overTimeDataForwards
- customDisable
- dbIntegrate
- devel
- dnsWatch
- fix/overtimegraphs
- fix/php5.3-support
- fix/tempReading
- licenseUpdate
- master
- new/APItest
- new/FTL_API
- new/FTLupdatenotification
- new/GeoIP
- new/fixed_layout
- official_migration
- speedtest
- tweak/API_shutdown
- tweak/FTLimmediatelyquit
- tweak/auditlog_apply
- tweak/detectIPv6visitor
- tweak/settingspagesecurity
- ui_fix
- v3.2.1_merge
- v4.3.2
- webupdater
root@pihole:/etc#