I grabbed the earliest version of GitHub Enterprise I could find archived and decompiled it, patched the hell out of it, and made it run on Ruby 3.4 with Rails LTS! It's running in development mode on my laptop right now, Git and everything working great.