use cdr replace tail, improve git-compare-with-master menu
cleaning