Add force_reset option to git.latest; fixes #10414