Make log messages look more like git.
Change to match API (named params).
Add methods to check lock status, and advance head without copying registrations.
Some things TODO.