I recently factory reset my computer, after installing git bash I noticed that the "code" function og VS CODE wasnt working, it was returning an error:
bash