<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: stanley maina</title>
    <description>The latest articles on DEV Community by stanley maina (@stan7210).</description>
    <link>https://dev.to/stan7210</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4071722%2F93ad1241-fbfe-4517-8ba0-46814ab11f75.jpg</url>
      <title>DEV Community: stanley maina</title>
      <link>https://dev.to/stan7210</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stan7210"/>
    <language>en</language>
    <item>
      <title>My Two Weeks At Luxe Dev Hq Data Analysis Class: From a Local Folder to GitHub Using Git and SSH</title>
      <dc:creator>stanley maina</dc:creator>
      <pubDate>Sun, 23 Aug 2026 11:42:35 +0000</pubDate>
      <link>https://dev.to/stan7210/my-two-weeks-at-luxe-dev-hq-data-analysis-class-from-a-local-folder-to-github-using-git-and-ssh-2bco</link>
      <guid>https://dev.to/stan7210/my-two-weeks-at-luxe-dev-hq-data-analysis-class-from-a-local-folder-to-github-using-git-and-ssh-2bco</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;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.&lt;br&gt;
One of the most useful things I learned was how to take a project that is stored in a local folder on my computer and connect it to GitHub. I also learned how SSH can be used to securely connect my computer to GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting up SSH
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;I navigated to my PowerShell on windows and ran the SSH server and authenticated&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Creating a folder on the desktop
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;changing directory to the desktop via cd OneDrive&lt;/em&gt;&lt;br&gt;
&lt;em&gt;make a directory via mkdir Data&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Creating a Repo on GitHub
&lt;/h4&gt;

&lt;p&gt;&lt;em&gt;On Github.com, I navigated to my profile, clicked on repository and created a repo/copied it&lt;br&gt;
Navigated to settings, SHH and GPG keys&lt;/em&gt; &lt;br&gt;
! &lt;a href="https://dev-to-uploads.s3.us-east-2.amazonaws.com/uploads/articles/061js0pt6jzsxb7v8pw3.jpeg" rel="noopener noreferrer"&gt;Image description&lt;/a&gt; and copied the public key and tested it on bash &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;this was a hurdle and took me hours to navigate but with the help of the teachers I managed to overcome this successfully.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Stage,Commit,Push
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;step one was to git status to show the files that I had via &lt;code&gt;git status&lt;/code&gt;- Shows which files are new, modified, or untracked.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;Git add .&lt;/code&gt; This is basically telling my Git I want to include these changes in my next commit&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;git commit -m "Initial commit"&lt;/code&gt;- Here I was creating a permanent record in my local repo's history, with a message describing what changed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;git push origin main&lt;/code&gt; This is the command to basically send it to GitHub&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
