Version Controlling with Git, GitHub and VS Code

Version Controlling with Git, GitHub and VS Code

ยท

2 min read

Git is a Version Control System (VCS) used for tracking changes in files and source codes. It lets you keep track of all of the changes that you make in your development process, i.e the process of developing your software.

GitHub on the other hand is a hosting platform that allows you to host your Git repositories. GitHub provides a Graphical User Interface (GUI) that allows you to visualize and effectively manage your Git repositories, share your code/project with other people and collaborate on a project.

It is important to know that while GitHub helps you manage your Git repositories and collaborate with other people, Git is not dependant on GitHub, GitHub only enhances your Git experience.

Check out this "Using Git and GitHub from my VS Code" video that I made some time ago, it is quite basic but would surely get you the practical feeling of using Git and GitHub. I used C# for my demo project in the video but that doesn't matter as the video basically just demonstrates and helps you understand how to make changes to your source code and push them back to GitHub.

NB: The video was recorded on the 28th of April, 2020. It was a Microsoft Teams call that I made as a response to a request from a community member on how to clone projects from GitHub, make changes, and push them back.

Outside this video, you should learn about some basic git commands like git clone, git init, git add, git commit, git pull, git push etc.

You should also learn to write descriptive commit messages after making your changes, just so it all makes sense when you come back to your code 10,000 years after hitting the "push" button, and you are still able to understand exactly what you did at that particular time.

Disclaimer: GitHub isn't only used by programmers, neither is Git. Git and GitHub can be used by anyone, as long as you're working with files(code or text) and you are working in a team (in the case of collaboration).

I wrote an introductory article on Python the other day, do check it out as it might just be the perfect read for you right now.

I'm sending you Love ๐Ÿ’š and Light ๐Ÿ’ก

ย