Improve post-checkout hook and README

Make the post-checkout hook only update revision.h on branch-level
checkout. Add "assume unchanged" status to revision.h.
Expanded the description in README.