How to keep space in sync?

Hi guys, I have pushed my code to hugging face space using hugging face cli. the system was http I guess not git but, my repo is a git repo available on GitHub and now I wanna keep my space in sync with GitHub repo. how do I do that. I repeat, I pushed all the code using hugging face cli not the git method. Any help would be appreciated. Thanks.