<?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: Timothy M Kariuki</title>
    <description>The latest articles on DEV Community by Timothy M Kariuki (@tim_kariuki325).</description>
    <link>https://dev.to/tim_kariuki325</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%2F4071710%2Fc9e5e590-fee8-45ee-977c-d58801bdb8df.jpg</url>
      <title>DEV Community: Timothy M Kariuki</title>
      <link>https://dev.to/tim_kariuki325</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tim_kariuki325"/>
    <language>en</language>
    <item>
      <title>My First GitHub Project: From a Local Folder to GitHub Using Git and SSH</title>
      <dc:creator>Timothy M Kariuki</dc:creator>
      <pubDate>Fri, 21 Aug 2026 13:30:09 +0000</pubDate>
      <link>https://dev.to/tim_kariuki325/-my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh--2lgc</link>
      <guid>https://dev.to/tim_kariuki325/-my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh--2lgc</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Walking into a new space of learning or career means you will hear vocabularies you haven't heard before. Well, when I joined the data Analytics class I didn't know Git and GitHub and perhaps one might think that Git is the short form for GitHub. Git is a powerful distributed version control system used by developers and coders to track and manage code changes locally with features like branching and merging while web-based platform that hosts Git repositories and enables collaboration through pull requests, issues and team management. Git operates mainly via command-line interface (CLI) with optional GUI tools while GitHub provides a web-based UI plus integrations along with Git command support.&lt;/p&gt;

&lt;h3&gt;
  
  
  Installations, Configurations and Signup to the Environments
&lt;/h3&gt;

&lt;p&gt;I started by downloading and setting up the Gitbash terminal on my computer. After successful set up I typed &lt;code&gt;cd Desktop&lt;/code&gt; command to go to my desktop folder. then used &lt;code&gt;ls&lt;/code&gt; command to list the items on my desktop folder. Next, I created a folder and named it &lt;strong&gt;Kenya-Hospital-Records-Analysis&lt;/strong&gt; using the &lt;code&gt;mkdir Kenya-Hospital-Records-Analysis&lt;/code&gt; command then used the &lt;code&gt;cd My-First-Github-Project&lt;/code&gt; to move into the folder. I created another folder called data using &lt;code&gt;mkdir Data&lt;/code&gt; and a README file using &lt;code&gt;touch README.md&lt;/code&gt; command.&lt;/p&gt;

&lt;h3&gt;
  
  
  Creating a GitHub Repository
&lt;/h3&gt;

&lt;p&gt;Since I had already created a GitHub account so I tapped the add button and created a new repository named &lt;strong&gt;Kenya-Hospital-Records-Analysis&lt;/strong&gt;.  I create an SSH authentication key used when pushing project from the computer to the Github Repository. I achieve this by running the &lt;code&gt;ssh-keygen-t ed25519 -c&lt;/code&gt; command and copied the key to GitHub, authenticated and tested the connection.&lt;/p&gt;

&lt;h3&gt;
  
  
  Uploading the Project to Github
&lt;/h3&gt;

&lt;p&gt;The Git initialization process involved the following steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To test whether my computer could successfully authenticate with GitHub using SSH I run the &lt;code&gt;$ ssh -T git@github.com&lt;/code&gt; command. and used the &lt;code&gt;cd Desktop command&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I initialized the git repository inside the folder using the: &lt;code&gt;git init&lt;/code&gt; command.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After initialization I run the &lt;code&gt;git add .&lt;/code&gt; to prepare the files in the &lt;strong&gt;Kenya-Hospital-Records-Analysis&lt;/strong&gt; directory for upload and then run the &lt;code&gt;git commit -m&lt;/code&gt; command.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then comes the steps to link the local folder to the repository&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The next step involved logging in to the github repository created a new repository to load the project.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;I then copied the SSH key from github and used it to link the local folder to github as shown: &lt;code&gt;git remote add origin git@github.com:Timothy*****/Kenya-Hospital-Records-Analysis&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;And finally to push the project to the repository I used the command: &lt;code&gt;git push -u origin main&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With those steps above the project was uploaded to the github repository and could be viewed by the public.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt; In this exercise, I went through the complete process of taking a project from a local folder on my computer and publishing it to GitHub using Git and SSH. I started by creating a local project, initializing it as a Git repository, tracking our files, and creating our first commit. Understanding this workflow provides a strong foundation for working with Git and GitHub and I believe that continued practice will give me the confidence and skills to partake more complex tasks&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>git</category>
      <category>github</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
