I pushed my code to git everyday, but yesterday .git folder of my project deleted and now I haven't it and can't get or download it again to push my new commit.
If you still have the file changes, and the remote repo, just check the project out again and copy your new files over the old and you should see file differences.
Can you clarify what your mean when you say ‘I cant download it again’ - as in you can’t ‘git pull’?
Deleted .git folder can't be restored, unless you want to use a recovery tool. Anyway, since you've an online backup I think you should just clone it, if I where in ur place I would do the following:
What is your OS? files starting with a . dot are meant to be hidden under unix, linux, try ls -la see if the directory is there or not.
Additionally, with no .git dir, the message you get is
fatal: not a git repository (or any parent up to mount point /) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
not a connection timed out response.
Also, if you are using some kind of a VPN like TORgitlab will reject your ssh connection, you need to configure your remote upstream to use https instead.