Create a Repository


15 min.   |   Beginner  

Create Repository on GitHub

A GitHub repository (or “repo” for short) is an online workspace that stores your project files, tracks their version history, and enables collaboration with others. In the GW Data Science program, you will create repositories to:

  • ✅ Store programming files related to your courses, including class notes, homework, assignments, and final projects.
  • ✅ Collaborate with peers on assignments or final projects.
  • ✅ Track changes and maintain version history for all your code and project files.

If you haven’t created a GitHub account yet, visit our Data Science Setup.

Cloning a Repository

Once the “repo” is created on GitHub, you’ll want to “clone” it. Cloning means downloading a copy of the repo to your local machine, allowing you to work on it using code editors and other development tools.

TipYou Can Clone Other Public GitHub Repositories

Explore, learn from, and even contribute to other people’s projects, that’s the power of an open source community!

  1. Open Terminal (Mac) or Command Line (Windows)

  2. Locate your GitHub folder

    cd path-to-your-github-folder
  3. Copy the HTTPS of your repository from GitHub (e.g., https://github.com/username/my-python-project.git)

  4. git clone the Repository:

    git clone https://github.com/username/my-python-project.git
  1. Open Your Repository on GitHub

  2. Code → Open with GitHub Desktop
    This will launch the app and prompt you to choose a local folder to clone the repository into.