{"id":28363731,"url":"https://github.com/twostoryrobot/workshop-git","last_synced_at":"2026-01-20T17:57:27.707Z","repository":{"id":92788808,"uuid":"133580483","full_name":"TwoStoryRobot/workshop-git","owner":"TwoStoryRobot","description":"A workshop for learning git","archived":false,"fork":false,"pushed_at":"2019-05-24T22:03:27.000Z","size":13,"stargazers_count":0,"open_issues_count":11,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T13:48:12.164Z","etag":null,"topics":["git","workshop"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TwoStoryRobot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-05-15T22:35:49.000Z","updated_at":"2018-06-21T18:18:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"71b4bfdb-7754-4bee-a008-170d6094f8e6","html_url":"https://github.com/TwoStoryRobot/workshop-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TwoStoryRobot/workshop-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoStoryRobot%2Fworkshop-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoStoryRobot%2Fworkshop-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoStoryRobot%2Fworkshop-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoStoryRobot%2Fworkshop-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TwoStoryRobot","download_url":"https://codeload.github.com/TwoStoryRobot/workshop-git/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwoStoryRobot%2Fworkshop-git/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274717637,"owners_count":25336940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","workshop"],"created_at":"2025-05-28T19:38:50.040Z","updated_at":"2026-01-20T17:57:27.682Z","avatar_url":"https://github.com/TwoStoryRobot.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git Workshop\n\nThis is a simple introduction to git and github. We'll be making several\nbranches and commits to files in this very repository. Everything will be in\nmarkdown, so you won't need to know any specific language (other than markdown\nobviously).\n\nLet's learn some git!\n\n**NOTE** Some of this is probably going to seem incomplete. You are going to\nhelp build this workshop! You'll see **WIP** scattered about. That just means\nthe section is Work In Progress.\n\n## Communication\n\nGit (and github) is not just a tool for version control. It's also a\ncommunication tool. We should strive to be excellent communicators. We are\ngoing to practice communicating here in this workshop.\n\n## Forks\n\n**WIP**\n\nJust like a fork in a path, a repository fork is the start of a new bit of code\nbut it shares the same history as the original code base.\n\n1. Fork this repository\n2. Clone it to your local machine\n\n## Repositories\n\n**WIP**\n\nRepositories are where your code physically resides. Local, remote, on your\ncomputer, in Github.\n\n\u003e Question: Name all the repositories that share a common history with this\n\u003e code base\n\n## Branches\n\n**WIP**\n\nBranches are kind of like forks, but they are contained withn a repository.\nBranches are cheap, so we want to use them often.\n\n**WIP** When should we branch?\n\nLet's add some files that link to other great programming resources on the web.\n\nTODO: Add commands to branch here\n\n1. Create a new branch\n2. Make a new file\n\n## Commits\n\n**WIP**\n\nCommits are little saved change to a repository. They also _communicate_ to\nyour fellow teammates and your future self.\n\n1. Add an interesting resource to your file.\n2. Commit that change.\n3. Add a link to your file from this README file\n4. Commit that change.\n5. Now edit the file and add some things to the top and bottom of the file\n6. Commit only the changes to the bottom of the file\n\n**Note**: Use good communication skills.\n\n\u003e Question: What are some examples of good commit messages?\n\nTODO: Discuss the different ways to `git add`\n\n## Pull Requests\n\n**WIP**\n\nPull requests are when you _request_ that someone _pull_ in your changes to a\nrepository. Sometimes they are called _merge requests_ (depending on the\nprovider you are using)\n\n1. Push your changes to your fork\n2. Make a pull request (remember to use good communication)\n3. See if someone will merge it in.\n\n## Keeping up to date\n\n\u003e Question: Think about the changes you just made. Where are they?\n\n**WIP** Remotes are just remote repositories. Git keeps these handy for you so\nyou can easily get code from different repositories.\n\n1. Add this repository as `upstream`\n2. Pull the upstream changes.\n\n\u003e Question: What's the difference between fetch and pull?\n\n**WIP** How to track upstream? When to push/pull?\n\n## Github Issues\n\n**WIP**\n\nKeep track of your things to do.\n\n## History\n\nGit keeps a history of all changes ever made.\n\n\u003e Question: Why would this be helpful?\n\nUse the CLI, figure out what my cat's name is. **Hint**: This file originally\ncontained my cat's name.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwostoryrobot%2Fworkshop-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwostoryrobot%2Fworkshop-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwostoryrobot%2Fworkshop-git/lists"}