<?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: Gichanga Wangui</title>
    <description>The latest articles on DEV Community by Gichanga Wangui (@thegichanga).</description>
    <link>https://dev.to/thegichanga</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%2F4071761%2Fc7363ce4-248b-41a3-af9a-5a3495eeb6b1.png</url>
      <title>DEV Community: Gichanga Wangui</title>
      <link>https://dev.to/thegichanga</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thegichanga"/>
    <language>en</language>
    <item>
      <title>My First GitHub Project: From a Local Folder to GitHub Using Git and SSH</title>
      <dc:creator>Gichanga Wangui</dc:creator>
      <pubDate>Thu, 20 Aug 2026 17:13:34 +0000</pubDate>
      <link>https://dev.to/thegichanga/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-5f84</link>
      <guid>https://dev.to/thegichanga/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-5f84</guid>
      <description>&lt;h2&gt;
  
  
  Installation And Setup Of Relevant Environments And User Accounts Creation
&lt;/h2&gt;

&lt;p&gt;We begin the project by downloading Git bash from &lt;a href="https://git-scm.com/" rel="noopener noreferrer"&gt;Git Website&lt;/a&gt; website and installation of the downloaded software. We proceed to create an account by signing up on &lt;a href="https://github.com" rel="noopener noreferrer"&gt;Github&lt;/a&gt;.&lt;br&gt;
We then proceed to configure and initialize username and e-mail address on Git bash by running git config command so that the identity of the user is correctly setup.&lt;/p&gt;
&lt;h2&gt;
  
  
  SSH Setup
&lt;/h2&gt;

&lt;p&gt;We create an SSH Key which is a form of authentication that is used when pushing project from the local machine to the Github Repository. We achieve this by running the&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ssh-keygen &lt;span class="nt"&gt;-t&lt;/span&gt; ed25519 &lt;span class="nt"&gt;-C&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We proceed to copy the generated SSH Key and paste it on Github under SSH and GPG Keys section.&lt;br&gt;
Once the SSH Key is authenticated, we test the connection and if successful, we proceed to verify the details by keying in a verification message sent to the registered e-mail address which returns a “success” message if the process is done correctly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gitbash
&lt;/h2&gt;

&lt;p&gt;Git bash is a terminal that will help in executing commands throughout the project.&lt;br&gt;
We go to git bash and create create project folders and files like Data, README.md, and scripts among others using MkDIR and Touch commands.&lt;br&gt;
To work on the README.md file, there are two methods using “Nano” or “Echo” commands.&lt;br&gt;
Nano opens a “separate” working area where the user can proceed to document the project.&lt;br&gt;
Echo command runs within the Git bash terminal.&lt;br&gt;
If working on a project using Ms Excel project, we can move the file to the Data folder using clip command or by copying it from File explorer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Working With Commits
&lt;/h2&gt;

&lt;p&gt;~ Git commit -m which explains what is saved thereby making it easy to understand the History of the project.&lt;br&gt;
~ Git Log helps the user see the history on the commit&lt;br&gt;
~ Git branch / Git main which shows the branch where the project is located / saved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating a Github Repository
&lt;/h2&gt;

&lt;p&gt;We create a Github repository by tapping the + button and then choosing “New repository” and then giving the repository a name.&lt;/p&gt;

&lt;h2&gt;
  
  
  Connecting / Pushing The project to Github
&lt;/h2&gt;

&lt;p&gt;We open Git bash and run git remote command in this format git remote add origin &lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt; followed by the Github username. &lt;/p&gt;

&lt;p&gt;We then proceed to run Git remote command which will provide a communication channel for the project on the computer and Git hub and upload the project.&lt;/p&gt;

&lt;p&gt;The final stage of the project is to verify the project which we achieve by refreshing the Github page.&lt;/p&gt;

&lt;p&gt;If the project upload was successful will have the various files and folders displayed on the Github Repository.&lt;/p&gt;

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