commit before checkout of older branch