I realize this isn’t local but could you not use Codespaces to create/update your github code and then update hubitat using the import url?
Sure, but I wouldn't see that as something fast enough when developing. I also wouldn't want every piece of trial code in my git commit history. Messy. For that I could also just have a local webserver serving the folder I have my code in locally.