Moved code which marks new commit until *after* it's pushed to Github.