Key Word(s): Introduction, Unix, Linux



Lecture 1 Exercise: Create a GitHub Account

Go to https://github.com and sign up for an account.

Be sure to use your .edu email account. Students get unlimited free private repositories. We will be using private repositories a lot in this class.

From your GitHub homepage, find the New Repository button:

  • Click the New Repository button
  • Name the repository cs207_firstname_lastname
    • Please use all lowercase letters.
  • Select Private for the repository type
  • Do the following:
    • initialize with a README,
    • add a .gitignore file (best choice for this class is a Python .gitignore file)
  • Optional: Create a license.
  • Select Create Repository

Congrats! You now have the course repo!


Preparing to use git and the command line

We will be doing most of our work from the command line.

Mac Instructions:

  • Open terminal
  • Type which git. If git is installed, you will see a path to git similar to /usr/bin/git.
  • If git is not installed, you won't see anything. Follow the instructions here to install it:
    https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
  • Finished for the day. Please help other students. Otherwise, you may leave.

Windows Instructions

You should install git BASH: https://git-for-windows.github.io