{
  "id": 2190027,
  "title": "My First GitHub Project: From a Local Folder to GitHub Using Git and SSH",
  "url": "https://urgent.news/2026/08/20/my-first-github-project-from-a-local-folder-to-github-using-git-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-20T17:13:34.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/thegichanga/my-first-github-project-from-a-local-folder-to-github-using-git-and-ssh-5f84"
  },
  "original_language": "en",
  "account": "To embark on this GitHub project, the first step was to download and install Git Bash from the GitHub website. Following installation, a user account was created on GitHub, where the username and email address were configured using the `git config` command to ensure the user's identity was accurately set up.\n\nThe process then moved towards establishing an SSH key for secure authentication when pushing the project from the local machine to the GitHub repository. This was accomplished by generating an SSH key with the command `ssh-keygen -t ed25519 -C`. The generated key was then copied and added to the GitHub account under the SSH and GPG Keys section. Once authenticated, a test connection was performed by entering a verification message sent to the registered email, which, if successful, returned a \"success\" message.\n\nUtilizing Git Bash as the command-line interface, project folders and files such as Data, README.md, and scripts were created using `mkdir` and `touch` commands. Working on the README.md file could be done using either the `nano` or `echo` commands, with `nano` opening a separate working area for documentation and `echo` running within the Git Bash terminal.\n\nCommitting changes was achieved using the command `git commit -m`, which documented the saved changes and provided clarity on the project's history. The project's history could be viewed using `git log`, while the current branch was displayed with `git branch` or `git main`, indicating the location and saved state of the project.\n\nTo connect the project to GitHub, a new repository was created by clicking the '+' button and selecting \"New Repository,\" where the project was given a name. The project was then pushed to GitHub by running `git remote add origin git@github.com: followed by the GitHub username`. This established a communication channel between the local project and GitHub, enabling the upload of the project files.\n\nThe final step in the project was verifying the upload by refreshing the GitHub page. If the upload was successful, the various files and folders would be displayed on the GitHub Repository, marking the completion of the project's transfer from a local folder to GitHub.",
  "summary": "Installation And Setup Of Relevant Environments And User Accounts Creation We begin the project by downloading Git bash from Git Website website and installation of the downloaded software. We proceed to create an account by signing up on Github . 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…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}