Document the new functions.
Fix detached-head? to detect current git output.
If required, update the git-deps during the middleware step automatically.