[bash] apply "Git me harder" from Rusty Russel