<?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: Yop Gony Dak</title>
    <description>The latest articles on DEV Community by Yop Gony Dak (@dakgony2022arch).</description>
    <link>https://dev.to/dakgony2022arch</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%2F4090244%2F3258c058-7085-4005-a7d0-b9f363af38ea.png</url>
      <title>DEV Community: Yop Gony Dak</title>
      <link>https://dev.to/dakgony2022arch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dakgony2022arch"/>
    <language>en</language>
    <item>
      <title>My first GitHub Project; from a local folder to GitHub using Git and SSH</title>
      <dc:creator>Yop Gony Dak</dc:creator>
      <pubDate>Sun, 23 Aug 2026 00:57:59 +0000</pubDate>
      <link>https://dev.to/dakgony2022arch/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-k1e</link>
      <guid>https://dev.to/dakgony2022arch/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-k1e</guid>
      <description>&lt;p&gt;when i first heard about Git and GitHub ,I was really confused by the two terms .more words and concepts such as repository ,commit ,SSH key ,push ,pull, were even more confusing .Knowing the definition  alone did not make me understand better .instead of just going through the document provided by my institution i decided to  do it practically so that i could  learn more on these concepts .this article will cover  how i carried out the practical exercise on my computer ,the process ,steps and the commands i used ,and my personal understanding from each step.&lt;/p&gt;

&lt;p&gt;Step 1: Setting Up Git Locally&lt;/p&gt;

&lt;p&gt;Before anything else,  ensure Git is installed on your computer. You can check by running:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git --version&lt;/p&gt;

&lt;p&gt;If it’s not installed, download it from a secure link.&lt;/p&gt;

&lt;p&gt;Next, configure your identity so Git knows who you are:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git config --global user.name "Your Name"&lt;br&gt;
git config --global user .email "&lt;a href="mailto:your.email@example.com"&gt;your.email@example.com&lt;/a&gt;"&lt;/p&gt;

&lt;p&gt;This information will appear in your commit history.&lt;/p&gt;

&lt;p&gt;Step 2: Initialize Your Local Project&lt;/p&gt;

&lt;p&gt;Navigate to your project folder and initialize Git:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
cd my-first-project&lt;br&gt;
git init&lt;/p&gt;

&lt;p&gt;This command creates a hidden &lt;code&gt;.git&lt;/code&gt; directory that tracks changes in your project.&lt;/p&gt;

&lt;p&gt;Add your files to the staging area:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git add .&lt;/p&gt;

&lt;p&gt;Then commit them with a message:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git commit -m "Initial commit"&lt;/p&gt;

&lt;p&gt;Now your project is officially version-controlled!&lt;/p&gt;

&lt;p&gt;Step 3: Connect to GitHub Using SSH&lt;/p&gt;

&lt;p&gt;SSH (Secure Shell) allows you to connect to GitHub securely without typing your password every time.&lt;/p&gt;

&lt;p&gt;Generate an SSH key:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
ssh-keygen -t ed25519 -C "&lt;a href="mailto:your.email@example.com"&gt;your.email@example.com&lt;/a&gt;"&lt;/p&gt;

&lt;p&gt;Copy your public key:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
cat ~/.ssh/id_ed25519.pub&lt;/p&gt;

&lt;p&gt;Then go to GitHub → Settings → SSH and GPG keys → New SSH key, paste it, and save.&lt;/p&gt;

&lt;p&gt;Test the connection:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
ssh-T &lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you see a welcome message, you’re good to go!&lt;/p&gt;

&lt;p&gt;4: Create a Remote Repository&lt;/p&gt;

&lt;p&gt;On GitHub, click New Repository, give it a name (e.g., &lt;code&gt;my-first-project&lt;/code&gt;), and choose whether it’s public or private.&lt;/p&gt;

&lt;p&gt;Copy the SSH URL—it should look like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt;:username/my-first-project.git&lt;/p&gt;

&lt;p&gt;Link your local folder to this remote repository:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git remote add origin &lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt;:username/my-first-project.git&lt;/p&gt;

&lt;p&gt;5: Push Your Code to GitHub&lt;/p&gt;

&lt;p&gt;Finally, send your local commits to GitHub:&lt;/p&gt;

&lt;p&gt;bash&lt;br&gt;
git push -u origin main&lt;/p&gt;

&lt;p&gt;After this, your project will appear online. You can now collaborate, track changes, and share your work with others.&lt;/p&gt;

&lt;p&gt;my Key Takeaways&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Git tracks your project history locally.
&lt;/li&gt;
&lt;li&gt;GitHub hosts your code online for collaboration.
&lt;/li&gt;
&lt;li&gt;SSH provides secure, password-free access.
&lt;/li&gt;
&lt;li&gt;The basic workflow is: init → add → commit → push.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;my Final Thoughts&lt;/p&gt;

&lt;p&gt;Setting up my  first GitHub project is a milestone in my developer journey. Once i,ve done it, i realize how powerful version control can be—not just for saving my work, but for learning, collaborating, and growing.&lt;/p&gt;

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