Skip to content

Instantly share code, notes, and snippets.

@itsJarrett
Last active September 27, 2018 02:19
Show Gist options
  • Save itsJarrett/8900cedfbf48caae060b23eaca460f3f to your computer and use it in GitHub Desktop.
Save itsJarrett/8900cedfbf48caae060b23eaca460f3f to your computer and use it in GitHub Desktop.
Version Control Systems: Git - Workshop Instructions
  1. Navigate to the repo on GitHub
  2. Click on the 'Fork' button in the top right corner. GitHub will take some time to fork the repo.
  3. Navigate to the forked repo. Should be like https://github.com/<your_github_username>/
  4. Click on the green color 'Clone or download' button
  5. Copy the command given in the text box. Should be like https://github.com/<your_github_username>/.git
  6. Clone it on your local machine. git clone https://github.com/<your_github_username>/.git
  7. Navigate to the cloned directory cd
  8. List down the Remotes of the repo. git remote -v
  9. List down the Branches of the repo. git branch -a
  10. Take a screenshot of the terminal output, and name the image to <your_github_username>-branch and commit to forked repository in the git-branch folder.
  11. View the git log. git log
  12. Take a screenshot of the terminal output, and name the image to <your_github_username>-log and commit to forked repository in the git-log folder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment