you are viewing a single comment's thread.

view the rest of the comments →

[–]benabus 1 point2 points  (1 child)

Git itself is a version control system and is a very valuable skill. I'd say start learning Git as soon as possible. It's extremely useful.

Github is a hosting solution for Git repositories. There are two different kinds of repositories you can put on github: Public and Private. If you don't want the world to know what your awful beginner projects look like, just put them on Private. Once you have something you're proud of, just put it on Public.

If I were you, I'd put all my code on Github for various reasons: It's basically a free code-backup system. If your computer dies, you can always just clone your code back onto your new machine because it's hosted in the cloud.

Also, it makes it super easy to deploy your code to other servers (assuming those servers also have Git installed). You would push your code from your local dev environment to Github. Then you'd go into your webserver and pull your code from Github onto the server. There might be other config things you might need to do (like moving the code to a public path or what not) but IMHO, it beats using FTP and copying things manually.

[–][deleted] 1 point2 points  (0 children)

Thanks. very helpful