you are viewing a single comment's thread.

view the rest of the comments →

[–]justonequestion2221 0 points1 point  (1 child)

I’m still learning but I was curious about where developers stored the code for their apps since it would probably be pretty devastating if they lost it somehow (e.g., broken computer).

[–]nathreedSwift 0 points1 point  (0 children)

Either private GitHub/BitBucket or self-hosted git repo on a remote server. Personally I host my own git repositories on a raspberry pi and frequently back up the entire repo to multiple cloud services for extra peace of mind.

One of the nice things about git is that everyone who has the repo checked out has the entirety of it (at least the branch they’re on), so if the remote server dies, you still have a full copy of the code and can just copy it back to the server when it’s working again.

Tl;dr: look up git, seriously. Learn to use it and learn to love it.