Code locally, push to glitch via git?

This question already has an answer here: Possible to code locally and push to glitch with git?