remove duplicate lines and lines for files which are not any more in this git