{
  "id": 2741594,
  "title": "My First GitHub Project: From a Local Folder to GitHub Using Git & SSH",
  "url": "https://urgent.news/2026/08/23/my-first-github-project-from-a-local-folder-to-github-using-git-ssh",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-23T06:37:42.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/mich2025/my-first-github-project-from-a-local-folder-to-github-using-git-ssh-5gi2"
  },
  "original_language": "en",
  "account": "Git and GitHub serve different purposes; Git is a version control system that runs on a computer and helps track changes to files, while GitHub is an online platform for storing, sharing, and collaborating on Git repositories. A Git repository is a storage space on a computer that contains a project's files and their entire history of changes. To manage a project locally, Git is used, and for remote storage and access, GitHub is required. Connecting a Git repository to GitHub requires a cryptographic network protocol called SSH, which allows secure remote access, command execution, and file transfers over unsecured networks.\n\nTo create a project in a local folder and connect it to GitHub, follow these steps:\n\n1. Check the current location by running the command pwd, which returned \"/c/Users/ezraw/OneDrive/Desktop\". This confirms the working directory.\n2. Move to the Desktop by running cd OneDrive/.\n3. Verify the location by running pwd again, which returned \"/c/Users/ezraw/OneDrive/Desktop\".\n4. Create a new folder named \"kenyan-hospital-health-records\" using the command mkdir kenyan-hospital-health-records.\n5. Access the newly created folder by running cd kenyan-hospital-health-records.\n6. Confirm the file path by running pwd, which returned \"/c/Users/ezraw/OneDrive/Desktop/kenyan-hospital-health-records\".\n7. Create sub-folders for the project structure by running mkdir data, mkdir notebooks, and mkdir scripts.\n8. Add a README.md file for project description using touch README.md.\n9. Add the existing dataset Excel file to the project by copying it to the project folder using cp ~/Downloads/Kenyan_Hospital_Health_Records.xlsx.\n10. Move the Excel file to the data sub-folder using mv Kenyan_Hospital_Health_Records.xlsx data/.\n11. Inspect the project structure by running ls, which returned:\n- README.md\n- data/\n- Kenyan_Hospital_Health_Records.xlsx\n- notebooks/\n- scripts/\n12. Add content to the README.md file by running echo \"# Kenyan Hospital Health Records Analysis\" > README.md and then adding more information using markdown syntax.\n13. Review the contents of the README.md file by running cat README.md.",
  "summary": "Introduction It is important to note that Git and GitHub are not the same thing and have different purposes. Git is a version control system that runs on my PC and helps track changes to files. GitHub on the other hand is an online platform where Git repositories can be stored , shared , and collaborated on . A Git repository is a storage space in a PC that contains project’s files along with the…",
  "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."
}