My Two Weeks At Luxe Dev Hq Data Analysis Class: From a Local Folder to GitHub Using Git and SSH
Introduction Over the past two weeks, I have been learning the basics of Git and GitHub and how they are used in Data science. During the classes, I learned that Git and GitHub are not the same thing. Git moves files to GitHub, while GitHub is an online platform where I can store and manage Git repositories and collaborate with other developers. One of the most useful things I learned was how to…
Over the past two weeks, I embarked on a journey to learn the fundamentals of Git and GitHub in the context of data science. One pivotal concept I grasped was the distinction between Git and GitHub: Git is a version control system that moves files to GitHub, whereas GitHub serves as an online platform for storing and managing Git repositories and fostering collaboration among developers.
A particularly valuable skill I acquired was the process of transitioning a project stored in a local folder on my computer to GitHub. I also delved into the utilization of SSH to establish a secure connection between my computer and GitHub.
To initiate the setup of SSH, I accessed my PowerShell on Windows and executed the SSH server while authenticating my credentials. Next, I created a folder on my desktop, navigated to it using the command prompt, and created a new directory. On GitHub.com, I proceeded to my profile, clicked on the "Repository" option, and created a new repository.
After copying the repository's URL, I navigated to the settings section, accessed the "SSH and GPG keys" tab, and pasted the public key. Testing the SSH key proved to be a challenging endeavor, consuming several hours of my time; however, with the invaluable assistance of my instructors, I successfully resolved the issue.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.