Journey to Coding
I said before, I am going to school full-time for a Cybersecurity, I am taking a couple of coding classes but have decided to take a more focused approach to it as well. I have been using freecodecamp and codeacademy for quite awhile now. they are awesome and have gotten me started and give me some focus when I feel like I don’t know what to do next. I recently found out about theodinproject. I know they say you should really focus on one language and framework, but I decided I wanted to check it out. I have just started the Ruby on Rails course. I am not very far into it so I can’t really comment on too much yet. However, I am about halfway through the introduction part, it goes a lot further into depth about Git and Github than I had expected. This is great for me, though. Around the same time I decided to start Journey2tech.com, I also started trying to use Github more. I have taken a few of the introduction courses offered by Github and that helped me a lot. Theodinproject has taught me about the history of Git and github, which is very interesting as well. I had no idea they were different, I thought they were the same thing using different names. I am glad I learned this because come to find out for me Github is just a website that uses Git. I did not know there were other programs that did what Github does. I just learned they are not the first, but, they approach the concept of version control very differently than any other version control programs.
Git
My understanding of Git is that it is a version control system. In that it saves your work and every time you change it, it essentially takes a snapshot of it and saves it for you. This way if you changed something and it isn’t playing nicely, you can then rollback to the previous version until it works again. To understand it better, I compared it to backups on a network. I recently finished a networking course, so it is fresh on my mind. Git is basically like taking a full backup which is the same as saving a document, everything is saved, even if nothing is changed it saves it all. Then there is an incremental backup, It only backs up data that has changed since the last backup. So Git is essentially like having incremental backups taken every time you save it. Every version of it is saved and kept safe. and you can easily rollback to each previous version if need be.
Github
So that clears up Git for me, but now I had to understand Github. After just learning there was a difference, I also learned that Github makes Git reachable from anywhere. It essentially takes your back up and makes it accessible anywhere. Instead of keeping it strictly local, it keeps it on many different servers and local client machines. So anytime you clone a repository, you are bringing the entire thing onto your local machine, if the main server goes down and somehow that original repository is lost, it can be built back up with the client clones. So it is no longer in one place but essentially everywhere. Anywhere with a network connection, you can access your repository to work on it. If you have been working on it already, you can continue working on it even if you lose network connection. Github and Git are not the same thing, however, they do go hand in hand. If you are new to coding, it is essential to learn Git and Github. Git revolutionized the version control industry, and Github made it even better and more accessible.
I am going to get back into my Ruby on Rails course and I will continue to update here and try to put it into easier terms to understand. As I continue on my journey to coding I will keep this page updated. This is only my second entry but every time I write about it, I feel more comfortable with the material. If anyone has any suggestions or questions, feel free to contact me, leave a comment or send a smoke signal. Happy coding.
0 Comments