remove non-git code