git basics

Part 1: basic git workflow

Do the following, using the command-line git client.

  1. Create a public GitHub repository called something like "git-experiments". Make sure it has a readme file (GitHub defaults to making it a markdown file called README.md, so use that).
  2. Find a classmate or two and make them collaborators on your new repository.
  3. Everybody clone the repo.
  4. You do this: add a new file, commit the changes, and push them to GitHub.
  5. Your collaborators do this: retrieve your changes and see the new file.
  6. All of you: look at the repo on github.com. Are the changes visible there?
  7. In the readme file, write down a concise narrative of the steps you took and the commands each of you executed. Give it a heading named "Part 1". Annotate this narrative however you see fit.
  8. Report the URL for your repo on our Slack workspace #general channel.