<?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: Neal Onyango</title>
    <description>The latest articles on DEV Community by Neal Onyango (@neal_onyango_ebe0034528d6).</description>
    <link>https://dev.to/neal_onyango_ebe0034528d6</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%2F4071741%2F463ab37d-2451-417e-bf02-0ddb8f4dcd4a.png</url>
      <title>DEV Community: Neal Onyango</title>
      <link>https://dev.to/neal_onyango_ebe0034528d6</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/neal_onyango_ebe0034528d6"/>
    <language>en</language>
    <item>
      <title>PUSHING FOLDERS TO GITHUB USING SSH</title>
      <dc:creator>Neal Onyango</dc:creator>
      <pubDate>Sun, 23 Aug 2026 09:55:00 +0000</pubDate>
      <link>https://dev.to/neal_onyango_ebe0034528d6/pushing-folders-to-github-using-ssh-9n0</link>
      <guid>https://dev.to/neal_onyango_ebe0034528d6/pushing-folders-to-github-using-ssh-9n0</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Pushing is the process of uploading a folder saved on a local repository to an online repository which can be accessed remotely. The online repository may be public or private. This article is an explanation of the step by step process of how to push projects from your local folder to GitHub on windows operating system. We shall use GitBash to write command line language and SSH key to link our GitHub to GitBash. &lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Log in to your GitHub account &lt;/li&gt;
&lt;li&gt;Download GitBash&lt;/li&gt;
&lt;li&gt;Correctly configure GitBash by running the command &lt;strong&gt;git config —-global —-list&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setup your SSH key.
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open GitBash and generate a new SSH key, replacing the email with the one linked to your GitHub account using the command &lt;strong&gt;ssh-keygen -t ed25519 -C “email”&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;confirm the key was created using &lt;strong&gt;ls -al ~/.ssh&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;To see the SSH key using &lt;strong&gt;cat ~/.ssh/id_ed25519.pub and then copy it&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;On GitHub, go to Settings then SSH where you will select new SSH key. Give it a title and paste your public key into the key field&lt;/li&gt;
&lt;li&gt;Test the connection on GitBash using &lt;strong&gt;ssh -T &lt;code&gt;git@github.com&lt;/code&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Push Process
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Confirm your current working directory by running the command &lt;strong&gt;pwd&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Use the command &lt;strong&gt;ls -la&lt;/strong&gt; to see all files hidden and non-hidden files.&lt;/li&gt;
&lt;li&gt;If you are not in the directory of the folder you are looking for, use the command &lt;strong&gt;cd&lt;/strong&gt; to move until the correct directory.&lt;/li&gt;
&lt;li&gt;Initialize the directory a GIT repository so GIT may begin managing the project using the command &lt;strong&gt;git init&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Stage your file so Git starts tracking using the command &lt;strong&gt;git add .&lt;/strong&gt; &lt;/li&gt;
&lt;li&gt;Commit the staged files with a message describing the changes using &lt;strong&gt;git commit -m “&lt;em&gt;description&lt;/em&gt;”&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Create an empty GitHub repository, name the repository, leave README unchecked and then choose SSH as your connection option.&lt;/li&gt;
&lt;li&gt;Copy the SSH repository address and then on GIT bash, type the command &lt;strong&gt;git remote add origin &lt;em&gt;pasted SSH repository address&lt;/em&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Confirm the remote is correct using the command &lt;strong&gt;git remote -v&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;You can now push the project using &lt;strong&gt;git push -u origin main&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Refresh the repository page on GitHub to see your pushed folder&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;This is the entire workflow of pushing a local project to GitHub using SSH on Windows. This is the cycle which you will repeat for every change you make.&lt;/p&gt;

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