Urgent.News

What's breaking now, across thousands of outlets.

Tech

My First GitHub Project: From A Local Folder To GitHub Using Git And SSH

Introduction. I have folder with files sitting quietly on my laptop, and the idea of turning it into a "real project" on github feels like a mountain. This week, i climbed that mountain and i want to walk you through exactly how i did. Git vs GitHub. Git is a tool that lives on my computer and its the thing that actually tracks the changes i make to my files GitHub is a website. Its where i can…

My first GitHub project began with a simple folder containing files on my laptop. Converting that folder into a real GitHub project felt like scaling a mountain. In this account, I will walk through the process of turning the local folder into a GitHub project, using Git and SSH.

Git and GitHub serve different purposes. Git is a tool residing on my computer, responsible for tracking changes in my files. GitHub, on the other hand, is a website where I can store an online copy of the files, enabling me to share, back up, or work on them from a different computer. Git handles the tracking, while GitHub takes care of hosting.

To create a Git project, I first established a folder named "my-first-project" within Git Bash, a command-line tool for interacting with Git and performing common computer tasks using commands. I utilized Git Bash commands to view files and folders, create a new folder, and navigate through directories.

To make Git recognize the "my-first-project" folder, I opened the terminal, navigated into the folder, and executed the appropriate commands. This initial step transformed my local folder into a Git project.

The next crucial step was setting up SSH to enable GitHub to trust my computer. SSH keys function like digital handshakes, allowing my computer and GitHub to recognize each other without requiring me to input a password with every interaction. To set up the SSH key, I generated a key using the command-line command "ssh-keygen -T ed25519 -C 'my email'" in Git Bash.

This command created two files: a private key and a public key. The public key was then copied using the "cat" command and added to my GitHub account. Finally, I tested the connection by running the command "ssh -T git@github.com" in Git Bash, which prompted a warning about connecting to a new host, and I confirmed the connection by typing "yes".

With SSH set up, the final step involved connecting my local folder to the GitHub repository. I named the repository the same as my local folder, creating a nickname called "origin" for the GitHub repository, so I wouldn't have to type the full URL every time. Following this, I learned about the Git workflow, which includes staging, committing, and pushing.

Staging refers to the waiting room where I select which changes to include in the next save point. A commit is the actual save point in the project's history, and the commit message should describe the changes made. Finally, pushing transfers the local commit to GitHub.

Upon completing this process, I learned that it's essential not to overlook the SSH setup, even though it may seem intimidating at first. The SSH setup turned out to be enjoyable and facilitated a smooth transition into my first GitHub project.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

# Understanding The Git Workflow

My Understanding Of Git Git is a place where one is able to create projects using commands and they can be tried, tested and if something is not right the correction is also done here.

  • Git is a platform for project creation, testing, and correction.
  • GitHub provides backup and public presentation for projects.
  • Specific Git commands manage project actions and synchronization.

The NVIDIA RTX 5090 Struggles To Game At 6K

Remember all those years ago, when NVIDIA bragged ever so briefly about its RTX 3090 being able to game at 8K, provided you were willing to dumb down the graphics presets and (perhaps) disable ray…

JarService / zhima Malware Entering via Insecure Android Car Head Unit Update Paths

1. Basic Information Article Name : The invisible passenger in your car Source : Kaspersky Securelist Publication Date : 2026-08-21 Update Date : None Severity : High Original Source : Kaspersky…

  • JarService and zhima malware infiltrated Android car head units via insecure update paths.
  • Malware distributed through legitimate DoFun Android car head unit updates using MQTT.
  • Malware collected device information every 90 minutes and relayed data to C2 server.

Tauri Apps without Rust? Write Your Backend in Javascript

TL;DR I wrote Tauri-specific rust bindings for BareKit as a Tauri plugin so you can write your backend in javascript without touching rust at all (other than enabling the plugin) or split your logic…

  • Tauri plugin tauri-plugin-bare-kit allows backend in Javascript without Rust.
  • BareKit provides asynchronous, event-driven architecture built on libuv and V8.
  • Plugin enables simple apps to run backend in Javascript while allowing complex use cases in Rust.

Github Project Workflow: Local Folder - Github

Introduction The world, as we know it, is changing and data is at the center of it all. As a beginner at LuxdevHq , I will cover Git and Github , how they connect and especially the process to follow…

  • Configure Git account and test SSH connection
  • Create project folder and README file
  • Push project to Github using git push

More from Sunday 23 August →