0001349 recognize remote branches for Version.h in detached head state