Git and GitHub (P6)

Git what?

Git is a distributed version control tool that can manage a development project’s source code history, while GitHub is a cloud based platform built around the Git tool. Git is a tool a developer installs locally on their computer, while GitHub is an online service that stores code pushed to it from computers running the Git tool. The key difference between Git and GitHub is that Git is an open-source tool developers install locally to manage source code, while GitHub is an online service to which developers who use Git can connect and upload or download resources.1

Git?

The Git tool is popular with developers because is stays true to its purpose of versioning source code, managing commit histories and making it possible to share code between developers without deviating into peripheral fields. There is no feature bloat with Git. It does what it does, it does nothing else, and it makes no apologies for that fact.1

Github?

We’ve established that Git is a version control system, similar but better than the many alternatives available. So, what makes GitHub so special? Git is a command-line tool, but the center around which all things involving Git revolve is the hub—GitHub.com—where developers store their projects and network with like minded people.2

  1. Make sure you have git on your computer.
    A. Note that Mac users have a few extra concerns.3 B. Mac fix with paths ls /usr/local
    C. Download Xcode and update 10 gig download.
    D. VSCode path selection settings Git: path

  1. Create a GitHub account and use an appropriate username
  1. Connect to our BYU-I organizations.
    A. BYU-I DS Resumes need teacher to admit you
    B. BYU-I Data Science Society need teacher to admit you
  1. Creat your own resume repo from our template (some directions)[https://github.blog/2019-06-06-generate-new-repositories-with-repository-templates/]

  1. Publish your repo on GitHub pages.
    A. Go to settings for your repo.
    B. Scroll down to the GitHub Pages section.
    C. Under source select the box which says None and pick master.
    D. Now select the /docs folder and click save.

  1. Check your published site settings and copy your site URL.

  1. Update your repository landing page to include your pages URL.

  1. Edit the readme.md in the base repo to not show the resume directions if your repo is public.
  1. Fork your repo back into the BYU-I DS Resumes

  1. Merge a pull request with any changes in your personal repository (see pull and merge on GitHub Guide).

  1. https://www.theserverside.com/video/Git-vs-GitHub-What-is-the-difference-between-them#:~:text=The%20key%20difference%20between%20Git,and%20upload%20or%20download%20resources. ↩︎

  2. https://www.howtogeek.com/180167/htg-explains-what-is-github-and-what-do-geeks-use-it-for/ ↩︎

  3. https://stackoverflow.com/questions/29971624/visual-studio-code-cannot-detect-installed-git ↩︎