git: make was_alias and done_help non-static