<?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: Naomi Kwamboka Onderi</title>
    <description>The latest articles on DEV Community by Naomi Kwamboka Onderi (@naomi_kwamboka1001).</description>
    <link>https://dev.to/naomi_kwamboka1001</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%2F4071765%2F6f008c64-670b-4a56-970c-410e14d15957.png</url>
      <title>DEV Community: Naomi Kwamboka Onderi</title>
      <link>https://dev.to/naomi_kwamboka1001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/naomi_kwamboka1001"/>
    <language>en</language>
    <item>
      <title>How To Upload Your First Project From a Local Folder to GitHub Using Git and SSH.</title>
      <dc:creator>Naomi Kwamboka Onderi</dc:creator>
      <pubDate>Sat, 22 Aug 2026 21:51:01 +0000</pubDate>
      <link>https://dev.to/naomi_kwamboka1001/how-to-upload-your-first-project-from-a-local-folder-to-github-using-git-and-ssh-500a</link>
      <guid>https://dev.to/naomi_kwamboka1001/how-to-upload-your-first-project-from-a-local-folder-to-github-using-git-and-ssh-500a</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;If you want to upload a project from your computer to your GitHub account, it can be done by simply using Git and SSH. This is one of the most important technical skills you can learn as a beginner because you will use this every time you want to create and or update an existing project. For a person using Windows OS, follow these simple steps as illustrated below. &lt;/p&gt;

&lt;h2&gt;
  
  
  1. Download Git and create a GitHub account.
&lt;/h2&gt;

&lt;p&gt;The GitHub account can be generated easily on the browser by using your email/username and a password. Git can be downloaded from Microsoft Store and installed in your computer.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Set up your Identity.
&lt;/h2&gt;

&lt;p&gt;Since it's your first time you are required to configure your name and email after installation.&lt;br&gt;
Run the following commands on Gitbash&lt;br&gt;
&lt;code&gt;git config --global user.name "Your Name"&lt;/code&gt; &lt;em&gt;Insert your name&lt;/em&gt;&lt;br&gt;
Then run&lt;br&gt;
&lt;code&gt;git config --global user.email "your-email@example.com"&lt;/code&gt;&lt;em&gt;Insert your email, the one used to create your GitHub account&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check whether you already have an SSH key
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;code&gt;ls -al ~/.ssh&lt;/code&gt;&lt;br&gt;
You'll see &lt;br&gt;
&lt;code&gt;id_ed25519 &lt;br&gt;
id_ed25519.pub&lt;/code&gt;&lt;br&gt;
&lt;code&gt;id_ed25519&lt;/code&gt;refers to the private key and &lt;code&gt;id_ed25519.pub&lt;/code&gt; refers to the public key.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Generate a new SSH key
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;code&gt;ssh-keygen -t ed25519 -C "your-email@example.com"&lt;/code&gt;&lt;em&gt;Replace your email with your GitHub email&lt;/em&gt;&lt;br&gt;
You'll then see &lt;code&gt;Generating public/private ed25519 key pair.&lt;/code&gt;&lt;br&gt;
Press Enter since it's your first key.&lt;br&gt;
Next you'll see &lt;br&gt;
&lt;code&gt;Enter passphrase (empty for no passphrase):&lt;/code&gt;&lt;em&gt;Enter passphrase (password) for security&lt;/em&gt;&lt;br&gt;
You'll be asked to confirm your passphrase just enter it again.&lt;br&gt;
You'll see messages indicating the private and public keys are being generated.&lt;br&gt;
On Windows open PowerShell as an Administrator and run:&lt;br&gt;
&lt;code&gt;Get-Service -Name ssh-agent | Set-Service -StartupType Manual&lt;/code&gt;&lt;br&gt;
Then:&lt;br&gt;
&lt;code&gt;Start-Service ssh-agent&lt;/code&gt;&lt;br&gt;
Return to Gitbash and add your private SSH key:&lt;br&gt;
&lt;code&gt;ssh-add ~/.ssh/id_ed25519&lt;/code&gt;&lt;br&gt;
It should indicate that the Identity was added.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Add your public SSH key to Github
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;code&gt;cat ~/.ssh/id_ed25519.pub&lt;/code&gt;and press Enter. Copy the entire line that pops up upto the &lt;code&gt;.pub&lt;/code&gt;&lt;br&gt;
On GitHub open Settings → SSH and GPG keys then select New SSH Key give it a title and paste the public key then press add key.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Locate your project folder and adding it to GitHub
&lt;/h2&gt;

&lt;p&gt;Locate your project it may be in the documents folder on your desktop. Open Gitbash and navigate into the project folder&lt;br&gt;
&lt;code&gt;cd ~/Documents/Loan Report&lt;/code&gt;&lt;br&gt;
You can use &lt;code&gt;ls&lt;/code&gt; confirm&lt;br&gt;
Run:&lt;br&gt;
&lt;code&gt;git init -b main&lt;/code&gt; initializing an untracked local project.&lt;br&gt;
Then run:&lt;br&gt;
&lt;code&gt;git status&lt;/code&gt;  this shows the untracked files.&lt;br&gt;
Then run:&lt;br&gt;
&lt;code&gt;git add .&lt;/code&gt; this adds the file in the current  directory. Rerun &lt;code&gt;git status&lt;/code&gt; again.&lt;br&gt;
Then run:&lt;br&gt;
&lt;code&gt;git commit -m "Initial commit"&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Create a new Repository on GitHub
&lt;/h2&gt;

&lt;p&gt;Create a new repository with a new name preferably the same name as the file &lt;em&gt;Loan Report&lt;/em&gt; and choose whether it is public or private.&lt;br&gt;
After creating the repository, you will see the setup information and select and copy the SSH URL. Paste the link in Gitbash then press enter.&lt;br&gt;
Whatever comes up replace the name section with your GitHub username and  press enter.&lt;br&gt;
Run:&lt;br&gt;
&lt;code&gt;git remote -v&lt;/code&gt; this confirms that Git knows where the GitHub repository is&lt;br&gt;
Then run:&lt;br&gt;
&lt;code&gt;git push -u origin main&lt;/code&gt; This pushes a new repository to GitHub.&lt;br&gt;
Afterwards go to GitHub and confirm if the project is there.&lt;/p&gt;

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

&lt;p&gt;This is the basic Git and GitHub steps that you'll have to use repeatedly while working on different kind of projects and with time all of these will become easier.&lt;/p&gt;

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