removing old git files from the git cache so they can be ignored