New: centralised support for syncing with origin
New: shared helpers for merges, pushes and pulls
Fix: refactored code, standardised sanity checks, dropped unused commands
Fix: now uses common code for updates
New: generic pull command
New: generic push command
New: list new commands, drop never-implemented command from usage output