Another "Dont break the chain" implementation that works on local git repos.