<?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: Nyambura Thuita</title>
    <description>The latest articles on DEV Community by Nyambura Thuita (@barbz04).</description>
    <link>https://dev.to/barbz04</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%2F4071743%2Fc12bcae9-8be3-4897-bbb3-0094d2188cff.png</url>
      <title>DEV Community: Nyambura Thuita</title>
      <link>https://dev.to/barbz04</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/barbz04"/>
    <language>en</language>
    <item>
      <title>My First GitHub Project: From a Local Folder to GitHub Using Git and SSH</title>
      <dc:creator>Nyambura Thuita</dc:creator>
      <pubDate>Sat, 22 Aug 2026 22:15:01 +0000</pubDate>
      <link>https://dev.to/barbz04/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-12po</link>
      <guid>https://dev.to/barbz04/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-12po</guid>
      <description>&lt;h2&gt;
  
  
  INTRODUCTION
&lt;/h2&gt;

&lt;p&gt;This a step by step tutorial on how to push a project from a local folder to GitHub using Git and SSH.&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;p&gt;GitHub Account to host the repository&lt;br&gt;
 GitBash: &lt;br&gt;
 -Used this as my terminal.&lt;br&gt;
 -It comes bundled with Git on Windows.&lt;br&gt;
 -To confirm installation ran: &lt;code&gt;git --version&lt;/code&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy3izdb50v4fjnappf2rz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy3izdb50v4fjnappf2rz.png" alt="git --version output" width="799" height="196"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A file(s) in the local folder&lt;/p&gt;

&lt;h3&gt;
  
  
  Verify Git configuration
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;First, I verified that the username and email configured for Git are accurate. 
The commands:
&lt;code&gt;git config --global user.name&lt;/code&gt; - this displays the configured Git username
&lt;code&gt;git config --global user.email&lt;/code&gt; - this displays the configured email.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq438geop1f57isbxfztv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq438geop1f57isbxfztv.png" alt="verify git configuration" width="798" height="113"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-This shows the correct username and email.&lt;/p&gt;

&lt;h3&gt;
  
  
  Generate SSH key
&lt;/h3&gt;

&lt;p&gt;To generate the SSH key ran the following command:&lt;br&gt;
&lt;code&gt;ssh-keygen -t ed25519 -C "my email"&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The SSH key is saved to a specific file location such as drive C on the laptop.
&lt;em&gt;Why use SSH key?&lt;/em&gt;
SSH is a secure way of authenticating my computer with my GitHub account. Rather than entering my GitHub credentials every time I push files from a local repo to a remote repo, Git uses the SSH key to verify my GitHub account.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Copy the public key
&lt;/h3&gt;

&lt;p&gt;The command:&lt;br&gt;
&lt;code&gt;cat ~/.ssh/id_ed25519.pub&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Add the SSH key to GitHub
&lt;/h3&gt;

&lt;p&gt;Login into GitHub&lt;br&gt;
On GitHub click on Profile-Settings-Access-SSH and GPG key- New SSH key&lt;br&gt;
Then:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Add Title, Key type(Authentication key) and Paste the entire SSH key, Click Add SSH key.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Test SSH key Connection
&lt;/h3&gt;

&lt;p&gt;On Git Bash ran:&lt;br&gt;
&lt;code&gt;ssh -T git@github.com&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvd1nt97fj6xx4ovngtwe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvd1nt97fj6xx4ovngtwe.png" alt="SSH Key Connection Test" width="800" height="145"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-This shows the SSH key is successfully authenticated.&lt;/p&gt;

&lt;h3&gt;
  
  
  Create the Project Folder
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;cd Desktop&lt;/code&gt; 
Navigate to desktop as this is where i would like to save my project folder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuvhvzbbyw1z3vfy9wvz7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fuvhvzbbyw1z3vfy9wvz7.png" alt="navigate to Desktop" width="796" height="41"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mkdir "Kenyan Health Records Analysis"&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Create the project folder on desktop. This is the folder in which the dataset will be uploaded.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs7q0wisn4iioani6s75f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fs7q0wisn4iioani6s75f.png" alt="Folder created" width="800" height="50"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Create the README file and data folder
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;cd Kenyan Health Records Analysis&lt;/code&gt;- navigate into the project folder. To ensure the README file, data folder and dataset are uploaded into the folder.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;touch README.md&lt;/code&gt;- create a README file&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mkdir data&lt;/code&gt;- create this folder within the Kenyan Health Records Analysis folder&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnwgi7js5caftgh2toqtx.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnwgi7js5caftgh2toqtx.png" alt="README.md and data folder created" width="800" height="161"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwjhbe2bf0f2ghfrqxx1l.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwjhbe2bf0f2ghfrqxx1l.png" alt="Confirm README and data file have been added" width="797" height="60"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-This shows that README.md file and data folder have been created and added successfully into the project folder "Kenyan Health Records Analysis"&lt;/p&gt;

&lt;h3&gt;
  
  
  Add the CSV file into the data folder
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Copy the csv file into the &lt;strong&gt;data&lt;/strong&gt; folder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8s14uk51s9eoorusgua4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8s14uk51s9eoorusgua4.png" alt="Added the dataset into the data folder" width="800" height="123"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This shows that the dataset is inside the data folder&lt;/p&gt;

&lt;h3&gt;
  
  
  Edit the README file
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;nano README.md&lt;/code&gt; - This command opens the &lt;strong&gt;README.md&lt;/strong&gt; file in the Nano text editor where a user can add or edit its contents. Also, if the file did not exist, it will be created when saved.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhrxx9flwq0i37zn95ao7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhrxx9flwq0i37zn95ao7.png" alt="Nano text editor" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This shows the nano text editor&lt;/li&gt;
&lt;li&gt;To save and exit the text editor:&lt;/li&gt;
&lt;li&gt;Ctrl+O&lt;/li&gt;
&lt;li&gt;Press Enter&lt;/li&gt;
&lt;li&gt;Ctrl+X&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Initialize Git
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git init&lt;/code&gt;- initialize a Git repository&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2p8nd32zr3d6do3blk1f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2p8nd32zr3d6do3blk1f.png" alt="Initialize repo" width="798" height="118"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Check file status
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;- shows the current status of the files&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsakplke0renymdptn4bn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsakplke0renymdptn4bn.png" alt="Shows current status of files" width="800" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This shows that the current README.md file and data folder are untracked. &lt;br&gt;
Untracked files means that their changes are not being tracked yet.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stage the files
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git add .&lt;/code&gt;- stage all files/ changes for the next commit&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git status&lt;/code&gt;- this shows the README.md file and data folder 
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fjwf6urruzxd973afjh4b.png" alt="Staged files and ready to be committed" width="800" height="245"&gt;
This shows that the files are staged and ready to be committed.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Commit the files
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git commit -m "First commit on health records"&lt;/code&gt; - commits all files created to the repo.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fml03ksrv2zyjtu2u3tpy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fml03ksrv2zyjtu2u3tpy.png" alt="Files Committed" width="800" height="126"&gt;&lt;/a&gt;&lt;br&gt;
-This shows the files have been successfully committed.&lt;/p&gt;

&lt;p&gt;Ensure the branch is main&lt;br&gt;
&lt;code&gt;git branch -M main&lt;/code&gt;- switch to branch main&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faau05t19i6mmsr4p4xpu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faau05t19i6mmsr4p4xpu.png" alt="switch to branch main" width="800" height="107"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This confirms the branch is main&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Create the repo on GitHub
&lt;/h3&gt;

&lt;p&gt;Login into GitHub&lt;br&gt;
Click on Profile icon- Repositories- new Repository&lt;br&gt;
Then:&lt;br&gt;
Choose Owner&lt;br&gt;
Add the Repository name&lt;br&gt;
Add a short description of the project&lt;br&gt;
For the configuration settings choose Public/Private and don't click on add README file&lt;br&gt;
Click Create Repository&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhhcdcsp03d8apj38wk3w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhhcdcsp03d8apj38wk3w.png" alt="GitHub Page showing creation of the new repo." width="800" height="764"&gt;&lt;/a&gt;&lt;br&gt;
This shows the General and configuration settings for the creation of a new GitHub repository.&lt;/p&gt;

&lt;h3&gt;
  
  
  Copy the SSH link
&lt;/h3&gt;

&lt;p&gt;On the page of the new repo copy the SSH link&lt;br&gt;
On GitBash ran:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git remote add origin "git@github.com:Thuita24/Kenyan-Health-Records-Analysis.git"&lt;/code&gt;- This commands connects the local repo to the repo on GitHub&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;git remote -v&lt;/code&gt;- This confirms that the connection was successful.
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F80jgshh14wdzq7gcacxr.png" alt="The local repo has been successfully connected to the repo on GitHub" width="799" height="156"&gt;
This shows that the local repo has been successfully connected to the repo on GitHub&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Push the files into GitHub
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;git push -u origin main&lt;/code&gt; - pushes all files into the repo&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzvy10e0vx2xo92ritfgu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzvy10e0vx2xo92ritfgu.png" alt="ALL files have been successfully pushed" width="800" height="163"&gt;&lt;/a&gt;&lt;br&gt;
This shows that all files have been successfully pushed to GitHub&lt;/p&gt;

&lt;p&gt;Basically the workflow is &lt;br&gt;
git init - git status - git add . - git status - git commit - git branch -M main - create GitHub repo - copy SSH Link - git remote add origin - git push&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;p&gt;When creating the README file, I did it in the data folder instead of the project folder. To move the folder I ran the following commands:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd ..&lt;/code&gt;- to navigate from the project folder from data folder (Kenyan Health Records Analysis)&lt;br&gt;
&lt;code&gt;mv data/README.md .&lt;/code&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;this moved the file into the project folder from the data folder.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When creating the folder Kenyan Health Records Analysis i ended up creating three different folders as I did not add quotation marks "" to the command &lt;code&gt;mkdir Kenyan Health Records Analysis&lt;br&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ld5ml3mevgk0k0pmqdb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7ld5ml3mevgk0k0pmqdb.png" alt="Three different folders created due to missing quotation marks in the command mkdir" width="623" height="188"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This shows the three folders that were created&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Corrected this by adding quotation marks to the command &lt;br&gt;
&lt;code&gt;mkdir "Kenyan Health Records Analysis"&lt;/code&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhr2j4gkip8xj912mur3t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fhr2j4gkip8xj912mur3t.png" alt="Corrected folder" width="496" height="345"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;This shows the correct project folder created&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Challenges Faced
&lt;/h2&gt;

&lt;p&gt;My biggest challenge was understanding how the command &lt;code&gt;git remote&lt;/code&gt; worked. I did not fully understand why it was necessary yet all the files in my local repo were staged and committed. Through this project , I learnt that the local repo and GitHub repo are treated as two different repositories by Git. The command &lt;code&gt;git remote add origin&lt;/code&gt; is what creates a link between the two repositories. &lt;/p&gt;

&lt;p&gt;Another challenged I faced was understanding the importance of quotation marks and spaces when writing commands on GitHub. An example is when I ran &lt;code&gt;mkdir Kenyan Health Records Analysis&lt;/code&gt;, Git Bash interpreted each word as a separate folder name instead of one. By adding quotation marks GitBash finally interpreted it as one folder name.&lt;/p&gt;

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

&lt;p&gt;This was an interesting project where I finally understood how git commands such git init, git status, git add, git commit, git remote and git push worked rather than just memorizing them and not knowing what was happening in the background. Additionally, I was learn how create an SSH key and use it to push files to GitHub instead of using HTTPS. &lt;br&gt;
In conclusion through this project I was able to gain knowledge on Git and GitHub basics using SSH authentication.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Thuita24/Kenyan-Health-Records-Analysis.git" rel="noopener noreferrer"&gt;https://github.com/Thuita24/Kenyan-Health-Records-Analysis.git&lt;/a&gt;&lt;/p&gt;

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