I mean come on now. You have internet? Good. Then u will be able to both run npm & git commands. Plus npm has cache. Why burn internet payload for no reason?
Alternatively, learn not to accept death and start that life goal of making it something that is a sad, rare event instead of part of the human nature.