run_command
Most commands are non-interactive, so this reduces duplication. We can add another function for running a command and not waiting for a prompt when we need it.
The automation is mostly copied from https://github.com/arxanas/git-branchless/tree/master/demos, so big thanks to @arxanas for writing that!