Well, I might say it's not fair because iSH is
not your only choice on the iPhone, at least if your goal is "checking out a git repo and editing files." Running git clone using an actual iOS native git client like Working Copy is pretty fast. And because Working Copy is an iOS file provider, you can edit files in a repo directly in a native iOS text editor like Textastic. If we're talking about doing web development, pair that with a cheap Linode or Digital Ocean VPS, the Blink terminal app and/or Secure ShellFish (an SSH client that also hooks in SFTP/SCP in as a file provider along with Shortcuts automation) and you're probably doing pretty darn well.
Now, if your goal is "do dev work just the same way I would on a Mac or a Linux machine," then no, the iPad's not going to cut it in its current incarnation, for reasons which one can argue are arbitrary. But honestly, I don't think a PinePhone will really cut it, either. :)
(Digression on arbitrariness: Apple has so far stuck very doggedly to the notion that iPads, like iPhones, should be more like consoles than general purpose computers, and their decisions about the platform mostly make sense if you look at them from that "app console" perspective. That doesn't mean they're the right decisions, but they're definitely conscious decisions. Up until, well, today I was pretty sure Apple was going to keep sticking by this, and that their response to people saying "what about Xcode on the iPad" would be "may we interest you in this Apple Silicon-based Macbook". Putting the M1 CPU in the new iPad Pro under the M1 branding, rather than calling it "A14X" or some such, give me some pause, though.)