remove git file from target